| Index: chrome/browser/system_monitor/portable_device_watcher_win.h
|
| diff --git a/chrome/browser/system_monitor/portable_device_watcher_win.h b/chrome/browser/system_monitor/portable_device_watcher_win.h
|
| index 0d16ba63bf11b80d1d8c7a7dbb39e820b74622a9..ff0d259372117df4442fd9989eb95d5c2f78ce36 100644
|
| --- a/chrome/browser/system_monitor/portable_device_watcher_win.h
|
| +++ b/chrome/browser/system_monitor/portable_device_watcher_win.h
|
| @@ -91,6 +91,10 @@ class PortableDeviceWatcherWin {
|
| static string16 GetStoragePathFromStorageId(
|
| const std::string& storage_unique_id);
|
|
|
| + // Set the volume notifications object to be used when new
|
| + // devices are found.
|
| + void SetNotifications(RemovableStorageNotifications::Receiver* notifications);
|
| +
|
| private:
|
| friend class test::TestPortableDeviceWatcherWin;
|
|
|
| @@ -132,6 +136,9 @@ class PortableDeviceWatcherWin {
|
| // Used by |media_task_runner_| to create cancelable callbacks.
|
| base::WeakPtrFactory<PortableDeviceWatcherWin> weak_ptr_factory_;
|
|
|
| + // The notifications object to use to signal newly attached devices.
|
| + RemovableStorageNotifications::Receiver* storage_notifications_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PortableDeviceWatcherWin);
|
| };
|
|
|
|
|