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

Side by Side 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, 1 month 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 unified diff | Download patch
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/mock_lorgnette_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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_MOCK_LORGNETTE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
7
8 #include "lorgnette_manager_client.h"
9
10 #include <gmock/gmock.h>
11
12 namespace chromeos {
13
14 class MockLorgnetteManagerClient : public LorgnetteManagerClient {
15 public:
16 MockLorgnetteManagerClient();
17 virtual ~MockLorgnetteManagerClient();
18
19 MOCK_METHOD1(ListScanners, void(const ListScannersCallback& callback));
20 MOCK_METHOD4(ScanImage, void(std::string device_name,
21 base::PlatformFile file,
22 const ScanProperties& properties,
23 const ScanImageCallback& callback));
24 MOCK_METHOD1(Init, void(dbus::Bus* bus));
25 };
26
27 } // namespace chromeos
28
29 #endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
OLDNEW
« 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