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

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: Rebase to ToT complete 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 unified diff | Download patch
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 <gmock/gmock.h>
9
10 namespace chromeos {
11
12 class MockLorgnetteManagerClient : public LorgnetteManagerClient {
13 public:
14 MockLorgnetteManagerClient() {}
15 virtual ~MockLorgnetteManagerClient() {}
16
17 MOCK_METHOD1(ListScanners, void(const ListScannersCallback& callback));
18 MOCK_METHOD4(ScanImage, void(std::string device_name,
19 base::PlatformFile file,
20 const ScanProperties& properties,
21 const ScanImageCallback& callback));
22 MOCK_METHOD1(Init, void(dbus::Bus* bus));
23 };
24
25 } // namespace chromeos
26
27 #endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698