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

Side by Side Diff: chromeos/dbus/fake_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 | « no previous file | chromeos/dbus/fake_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
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_FAKE_LORGNETTE_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 8 #include "base/macros.h"
10 #include "chromeos/dbus/lorgnette_manager_client.h" 9 #include "chromeos/dbus/lorgnette_manager_client.h"
11 10
12 namespace chromeos { 11 namespace chromeos {
13 12
14 // Lorgnette LorgnetteManagerClient implementation used on Linux desktop, 13 // Lorgnette LorgnetteManagerClient implementation used on Linux desktop,
15 // which does nothing. 14 // which does nothing.
16 class CHROMEOS_EXPORT FakeLorgnetteManagerClient 15 class CHROMEOS_EXPORT FakeLorgnetteManagerClient
17 : public LorgnetteManagerClient { 16 : public LorgnetteManagerClient {
18 public: 17 public:
19 FakeLorgnetteManagerClient(); 18 FakeLorgnetteManagerClient();
20 ~FakeLorgnetteManagerClient() override; 19 ~FakeLorgnetteManagerClient() override;
21 20
22 void Init(dbus::Bus* bus) override; 21 void Init(dbus::Bus* bus) override;
23 22
24 void ListScanners(const ListScannersCallback& callback) override; 23 void ListScanners(const ListScannersCallback& callback) override;
25 void ScanImageToFile(
26 std::string device_name,
27 const ScanProperties& properties,
28 const ScanImageToFileCallback& callback,
29 base::File* file) override;
30 void ScanImageToString( 24 void ScanImageToString(
31 std::string device_name, 25 std::string device_name,
32 const ScanProperties& properties, 26 const ScanProperties& properties,
33 const ScanImageToStringCallback& callback) override; 27 const ScanImageToStringCallback& callback) override;
34 28
35 private: 29 private:
36 DISALLOW_COPY_AND_ASSIGN(FakeLorgnetteManagerClient); 30 DISALLOW_COPY_AND_ASSIGN(FakeLorgnetteManagerClient);
37 }; 31 };
38 32
39 } // namespace chromeos 33 } // namespace chromeos
40 34
41 #endif // CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_ 35 #endif // CHROMEOS_DBUS_FAKE_LORGNETTE_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/fake_lorgnette_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698