| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "chromeos/dbus/lorgnette_manager_client.h" | 10 #include "chromeos/dbus/lorgnette_manager_client.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 | 13 |
| 14 // Lorgnette LorgnetteManagerClient implementation used on Linux desktop, | 14 // Lorgnette LorgnetteManagerClient implementation used on Linux desktop, |
| 15 // which does nothing. | 15 // which does nothing. |
| 16 class CHROMEOS_EXPORT FakeLorgnetteManagerClient | 16 class CHROMEOS_EXPORT FakeLorgnetteManagerClient |
| 17 : public LorgnetteManagerClient { | 17 : public LorgnetteManagerClient { |
| 18 public: | 18 public: |
| 19 FakeLorgnetteManagerClient(); | 19 FakeLorgnetteManagerClient(); |
| 20 virtual ~FakeLorgnetteManagerClient(); | 20 virtual ~FakeLorgnetteManagerClient(); |
| 21 | 21 |
| 22 virtual void Init(dbus::Bus* bus) OVERRIDE; | 22 virtual void Init(dbus::Bus* bus) override; |
| 23 | 23 |
| 24 virtual void ListScanners(const ListScannersCallback& callback) OVERRIDE; | 24 virtual void ListScanners(const ListScannersCallback& callback) override; |
| 25 virtual void ScanImage(std::string device_name, | 25 virtual void ScanImage(std::string device_name, |
| 26 base::PlatformFile file, | 26 base::PlatformFile file, |
| 27 const ScanProperties& properties, | 27 const ScanProperties& properties, |
| 28 const ScanImageCallback& callback) OVERRIDE; | 28 const ScanImageCallback& callback) override; |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 DISALLOW_COPY_AND_ASSIGN(FakeLorgnetteManagerClient); | 31 DISALLOW_COPY_AND_ASSIGN(FakeLorgnetteManagerClient); |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 } // namespace chromeos | 34 } // namespace chromeos |
| 35 | 35 |
| 36 #endif // CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ | 36 #endif // CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ |
| OLD | NEW |