Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / chromeos / dbus / fake_lorgnette_manager_client.h
blob7f514f5a8f15faed55d32e8213791a1df840d761
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.
5 #ifndef CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chromeos/dbus/lorgnette_manager_client.h"
12 namespace chromeos {
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 virtual ~FakeLorgnetteManagerClient();
22 virtual void Init(dbus::Bus* bus) OVERRIDE;
24 virtual void ListScanners(const ListScannersCallback& callback) OVERRIDE;
25 virtual void ScanImage(std::string device_name,
26 base::PlatformFile file,
27 const ScanProperties& properties,
28 const ScanImageCallback& callback) OVERRIDE;
30 private:
31 DISALLOW_COPY_AND_ASSIGN(FakeLorgnetteManagerClient);
34 } // namespace chromeos
36 #endif // CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_