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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry.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: Rebase to head Created 7 years, 12 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/media_gallery/media_file_system_registry.h
diff --git a/chrome/browser/media_gallery/media_file_system_registry.h b/chrome/browser/media_gallery/media_file_system_registry.h
index 801d16bef4d800d11a9d8b610a0cd41f80964fd1..31246cf5fc83b1bd116c705de5f1ce4a21e88955 100644
--- a/chrome/browser/media_gallery/media_file_system_registry.h
+++ b/chrome/browser/media_gallery/media_file_system_registry.h
@@ -17,8 +17,8 @@
#include "base/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/prefs/public/pref_change_registrar.h"
-#include "base/system_monitor/system_monitor.h"
#include "chrome/browser/media_gallery/transient_device_ids.h"
+#include "chrome/browser/system_monitor/removable_storage_notifications.h"
#include "webkit/fileapi/media/mtp_device_file_system_config.h"
#if defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
@@ -61,7 +61,7 @@ typedef base::Callback<void(const std::vector<MediaFileSystemInfo>&)>
MediaFileSystemsCallback;
class MediaFileSystemRegistry
- : public base::SystemMonitor::DevicesChangedObserver {
+ : public RemovableStorageNotifications::RemovableStorageObserver {
public:
MediaFileSystemRegistry();
virtual ~MediaFileSystemRegistry();
@@ -80,7 +80,7 @@ class MediaFileSystemRegistry
// Called on the UI thread.
MediaGalleriesPreferences* GetPreferences(Profile* profile);
- // base::SystemMonitor::DevicesChangedObserver implementation.
+ // RemovableStorageObserver implementation.
virtual void OnRemovableStorageAttached(
const std::string& id,
const string16& name,

Powered by Google App Engine
This is Rietveld 408576698