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

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

Issue 12147002: Add a receiver interface to RemovableStorageNotifications. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merging Created 7 years, 10 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/system_monitor/image_capture_device_manager.h
diff --git a/chrome/browser/system_monitor/image_capture_device_manager.h b/chrome/browser/system_monitor/image_capture_device_manager.h
index a10ae06da56f28321e5c21501c0973734adcf77b..d27980c8804b39583a2fde55fe970c62bc25d09a 100644
--- a/chrome/browser/system_monitor/image_capture_device_manager.h
+++ b/chrome/browser/system_monitor/image_capture_device_manager.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/memory/scoped_nsobject.h"
+#include "chrome/browser/system_monitor/removable_storage_notifications.h"
@protocol ICDeviceBrowserDelegate;
@class ImageCaptureDevice;
@@ -33,6 +34,10 @@ class ImageCaptureDeviceManager {
// Returns a weak pointer to the internal ImageCapture interface protocol.
id<ICDeviceBrowserDelegate> device_browser();
+ // Sets the receiver for device attach/detach notifications.
+ // TODO(gbillock): Move this to be a constructor argument.
+ void SetNotifications(RemovableStorageNotifications::Receiver* notifications);
+
private:
scoped_nsobject<ImageCaptureDeviceManagerImpl> device_browser_;
};

Powered by Google App Engine
This is Rietveld 408576698