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

Unified Diff: chromeos/dbus/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_lorgnette_manager_client.cc ('k') | chromeos/dbus/lorgnette_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/lorgnette_manager_client.h
diff --git a/chromeos/dbus/lorgnette_manager_client.h b/chromeos/dbus/lorgnette_manager_client.h
index 9aa0d9f98ed3e5ea550c966b5bb4c72b8b31535a..886c8a8fc9a9016cf10ec06adac9d905a229a105 100644
--- a/chromeos/dbus/lorgnette_manager_client.h
+++ b/chromeos/dbus/lorgnette_manager_client.h
@@ -6,11 +6,10 @@
#define CHROMEOS_DBUS_LORGNETTE_MANAGER_CLIENT_H_
#include <map>
+#include <string>
#include "base/callback.h"
-#include "base/files/file.h"
#include "base/macros.h"
-#include "base/memory/ref_counted_memory.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_client.h"
@@ -29,10 +28,6 @@ class CHROMEOS_EXPORT LorgnetteManagerClient : public DBusClient {
typedef base::Callback<void(
bool succeeded, const ScannerTable&)> ListScannersCallback;
- // Called once ScanImageToFile() is complete. Takes one parameter:
- // - succeeded: was the scan completed successfully.
- typedef base::Callback<void(bool succeeded)> ScanImageToFileCallback;
-
// Called once ScanImageToString() is complete. Takes two parameters:
// - succeeded: was the scan completed successfully.
// - image_data: the contents of the image.
@@ -52,13 +47,6 @@ class CHROMEOS_EXPORT LorgnetteManagerClient : public DBusClient {
// Gets a list of scanners from the lorgnette manager.
virtual void ListScanners(const ListScannersCallback& callback) = 0;
- // Request a scanned image to be scanned to |file| and calls |callback|
- // when completed. Image data will be stored in the .png format.
- virtual void ScanImageToFile(std::string device_name,
- const ScanProperties& properties,
- const ScanImageToFileCallback& callback,
- base::File* file) = 0;
-
// Request a scanned image and calls |callback| when completed with a string
// pointing at the scanned image data. Image data will be stored in the .png
// format.
« no previous file with comments | « chromeos/dbus/fake_lorgnette_manager_client.cc ('k') | chromeos/dbus/lorgnette_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698