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

Unified Diff: chrome/browser/media_gallery/media_galleries_dialog_controller.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_galleries_dialog_controller.h
diff --git a/chrome/browser/media_gallery/media_galleries_dialog_controller.h b/chrome/browser/media_gallery/media_galleries_dialog_controller.h
index 166693e5a429614976bab6a67c25d8190452508d..cd58bda0ac4d5a59fb0cb5228457d9aaef821cdc 100644
--- a/chrome/browser/media_gallery/media_galleries_dialog_controller.h
+++ b/chrome/browser/media_gallery/media_galleries_dialog_controller.h
@@ -11,8 +11,8 @@
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
-#include "base/system_monitor/system_monitor.h"
#include "chrome/browser/media_gallery/media_galleries_preferences.h"
+#include "chrome/browser/system_monitor/removable_storage_notifications.h"
#include "ui/base/dialogs/select_file_dialog.h"
#include "ui/gfx/native_widget_types.h"
@@ -49,7 +49,7 @@ class MediaGalleriesDialog {
// the dialog and owns itself.
class MediaGalleriesDialogController
: public ui::SelectFileDialog::Listener,
- public base::SystemMonitor::DevicesChangedObserver {
+ public RemovableStorageNotifications::RemovableStorageObserver {
public:
// A fancy pair.
struct GalleryPermission {
@@ -101,7 +101,7 @@ class MediaGalleriesDialogController
int index,
void* params) OVERRIDE;
- // base::SystemMonitor::DevicesChangedObserver implementation:
+ // RemovableStoageObserver implementation:
virtual void OnRemovableStorageAttached(
const std::string& id,
const string16& name,

Powered by Google App Engine
This is Rietveld 408576698