Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: chromeos/dbus/mock_lorgnette_manager_client.h

Issue 286933006: Implement a JavaScript API for document scanning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Starting over. This used to be 286933006 Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/mock_lorgnette_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/mock_lorgnette_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698