Index: chromeos/dbus/mock_lorgnette_manager_client.h |
diff --git a/chromeos/dbus/mock_lorgnette_manager_client.h b/chromeos/dbus/mock_lorgnette_manager_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..df80f5f38dbb859bc61720ad9cb547ec64972177 |
--- /dev/null |
+++ b/chromeos/dbus/mock_lorgnette_manager_client.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ |
+#define CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ |
+ |
+#include "lorgnette_manager_client.h" |
+ |
+#include <gmock/gmock.h> |
+ |
+namespace chromeos { |
+ |
+class MockLorgnetteManagerClient : public LorgnetteManagerClient { |
+ public: |
+ MockLorgnetteManagerClient(); |
+ virtual ~MockLorgnetteManagerClient(); |
+ |
+ MOCK_METHOD1(ListScanners, void(const ListScannersCallback& callback)); |
+ MOCK_METHOD4(ScanImage, void(std::string device_name, |
+ base::PlatformFile file, |
+ const ScanProperties& properties, |
+ const ScanImageCallback& callback)); |
+ MOCK_METHOD1(Init, void(dbus::Bus* bus)); |
+}; |
+ |
+} // namespace chromeos |
+ |
+#endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ |