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

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: Created 7 years, 11 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..721e3251666cfa109593ccf1e95978211f4f8128 100644
--- a/chrome/browser/system_monitor/image_capture_device_manager.h
+++ b/chrome/browser/system_monitor/image_capture_device_manager.h
@@ -33,6 +33,9 @@ class ImageCaptureDeviceManager {
// Returns a weak pointer to the internal ImageCapture interface protocol.
id<ICDeviceBrowserDelegate> device_browser();
+ // Sets the receiver for device attach/detach notifications.
+ void SetNotifications(RemovableStorageNotifications::Receiver* notifications);
vandebo (ex-Chrome) 2013/01/31 23:51:29 Why not pass this in to the constructor?
Greg Billock 2013/02/01 18:28:42 They should be. I used these setters because of th
vandebo (ex-Chrome) 2013/02/01 18:59:55 Ok, can you add a TODO here then, so it's clear th
Greg Billock 2013/02/01 23:05:42 Done.
+
private:
scoped_nsobject<ImageCaptureDeviceManagerImpl> device_browser_;
};

Powered by Google App Engine
This is Rietveld 408576698