| 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.
|
|
|