| Index: chrome/browser/system_monitor/removable_storage_notifications.h
|
| diff --git a/chrome/browser/system_monitor/removable_storage_notifications.h b/chrome/browser/system_monitor/removable_storage_notifications.h
|
| index 390cc1bd38463ac09f861ac30224de0ec58df3fb..6c12e46cba8e944027fab4e5da88b331b0f0b97c 100644
|
| --- a/chrome/browser/system_monitor/removable_storage_notifications.h
|
| +++ b/chrome/browser/system_monitor/removable_storage_notifications.h
|
| @@ -9,7 +9,8 @@
|
| #include "base/observer_list_threadsafe.h"
|
| #include "base/string16.h"
|
| #include "base/synchronization/lock.h"
|
| -#include "base/system_monitor/system_monitor.h"
|
| +
|
| +class MediaGalleriesPrivateApiTest;
|
|
|
| namespace chrome {
|
|
|
| @@ -47,7 +48,7 @@ class RemovableStorageNotifications {
|
| // TODO(gbillock): Change this method signature to use StorageInfo.
|
| virtual bool GetDeviceInfoForPath(
|
| const FilePath& path,
|
| - base::SystemMonitor::RemovableStorageInfo* device_info) const = 0;
|
| + StorageInfo* device_info) const = 0;
|
|
|
| // Returns the storage size of the device present at |location|. If the
|
| // device information is unavailable, returns zero.
|
| @@ -62,6 +63,15 @@ class RemovableStorageNotifications {
|
| protected:
|
| RemovableStorageNotifications();
|
|
|
| + // TODO(gbillock): remove these friends by making the classes owned by the
|
| + // platform-specific implementation.
|
| + friend class MediaFileSystemRegistryTest;
|
| + friend class ::MediaGalleriesPrivateApiTest;
|
| + friend class MediaStorageUtilTest;
|
| + friend class MediaTransferProtocolDeviceObserverLinux;
|
| + friend class PortableDeviceWatcherWin;
|
| + friend class VolumeMountWatcherWin;
|
| +
|
| void ProcessAttach(const std::string& id,
|
| const string16& name,
|
| const FilePath::StringType& location);
|
|
|