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

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

Issue 11573048: [Media Galleries] Move RemovableStorageInfo notifications to chrome namespace (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head 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/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..e7ef569a3cdf766f5548030858e43d8222bbb98f 100644
--- a/chrome/browser/system_monitor/removable_storage_notifications.h
+++ b/chrome/browser/system_monitor/removable_storage_notifications.h
@@ -9,7 +9,6 @@
#include "base/observer_list_threadsafe.h"
#include "base/string16.h"
#include "base/synchronization/lock.h"
-#include "base/system_monitor/system_monitor.h"
namespace chrome {
@@ -47,7 +46,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 +61,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);

Powered by Google App Engine
This is Rietveld 408576698