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

Side by Side Diff: chromeos/dbus/mock_lorgnette_manager_client.h

Issue 2299143002: chromeos: Remove dbus::FileDescriptor from LorgnetteManagerClient (Closed)
Patch Set: Update comment Created 4 years, 3 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
« no previous file with comments | « chromeos/dbus/lorgnette_manager_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MOCK_LORGNETTE_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
7 7
8 #include "lorgnette_manager_client.h" 8 #include "lorgnette_manager_client.h"
9 9
10 #include <gmock/gmock.h> 10 #include <gmock/gmock.h>
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 class MockLorgnetteManagerClient : public LorgnetteManagerClient { 14 class MockLorgnetteManagerClient : public LorgnetteManagerClient {
15 public: 15 public:
16 MockLorgnetteManagerClient(); 16 MockLorgnetteManagerClient();
17 ~MockLorgnetteManagerClient() override; 17 ~MockLorgnetteManagerClient() override;
18 18
19 MOCK_METHOD1(ListScanners, void(const ListScannersCallback& callback)); 19 MOCK_METHOD1(ListScanners, void(const ListScannersCallback& callback));
20 MOCK_METHOD4(ScanImageToFile, void(std::string device_name,
21 const ScanProperties& properties,
22 const ScanImageToFileCallback& callback,
23 base::File* file));
24 MOCK_METHOD3(ScanImageToString, 20 MOCK_METHOD3(ScanImageToString,
25 void(std::string device_name, 21 void(std::string device_name,
26 const ScanProperties& properties, 22 const ScanProperties& properties,
27 const ScanImageToStringCallback& callback)); 23 const ScanImageToStringCallback& callback));
28 MOCK_METHOD1(Init, void(dbus::Bus* bus)); 24 MOCK_METHOD1(Init, void(dbus::Bus* bus));
29 }; 25 };
30 26
31 } // namespace chromeos 27 } // namespace chromeos
32 28
33 #endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ 29 #endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/lorgnette_manager_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698