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

Unified Diff: chrome/browser/storage_monitor/image_capture_device_manager.h

Issue 23383009: [StorageMonitor] Handle EjectDevice call for MTP devices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
Index: chrome/browser/storage_monitor/image_capture_device_manager.h
diff --git a/chrome/browser/storage_monitor/image_capture_device_manager.h b/chrome/browser/storage_monitor/image_capture_device_manager.h
index bc8c09e4c96bacebe0fbdbfde4efd503ddd6ffa4..a1d0ea1a92a43a7b197a593576c704ab1dbdbf4c 100644
--- a/chrome/browser/storage_monitor/image_capture_device_manager.h
+++ b/chrome/browser/storage_monitor/image_capture_device_manager.h
@@ -38,6 +38,11 @@ class ImageCaptureDeviceManager {
// TODO(gbillock): Move this to be a constructor argument.
void SetNotifications(StorageMonitor::Receiver* notifications);
+ // Eject the given device. The ID passed is not the device ID, but the
+ // ImageCapture UUID.
+ void EjectDevice(const std::string& uuid,
+ base::Callback<void(StorageMonitor::EjectStatus)> callback);
+
private:
base::scoped_nsobject<ImageCaptureDeviceManagerImpl> device_browser_;
};

Powered by Google App Engine
This is Rietveld 408576698