Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chromeos / dbus / fake_lorgnette_manager_client.h
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chromeos/dbus/lorgnette_manager_client.h"
11
12 namespace chromeos {
13
14 // Lorgnette LorgnetteManagerClient implementation used on Linux desktop,
15 // which does nothing.
16 class CHROMEOS_EXPORT FakeLorgnetteManagerClient
17     : public LorgnetteManagerClient {
18  public:
19   FakeLorgnetteManagerClient();
20   ~FakeLorgnetteManagerClient() override;
21
22   virtual void Init(dbus::Bus* bus) override;
23
24   virtual void ListScanners(const ListScannersCallback& callback) override;
25   void ScanImageToFile(
26       std::string device_name,
27       const ScanProperties& properties,
28       const ScanImageToFileCallback& callback,
29       base::File* file) override;
30   void ScanImageToString(
31       std::string device_name,
32       const ScanProperties& properties,
33       const ScanImageToStringCallback& callback) override;
34
35  private:
36   DISALLOW_COPY_AND_ASSIGN(FakeLorgnetteManagerClient);
37 };
38
39 }  // namespace chromeos
40
41 #endif  // CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_