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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_chromeos.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: Make singleton pointer live in base class. 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_device_notifications_chromeos.h
diff --git a/chrome/browser/system_monitor/removable_device_notifications_chromeos.h b/chrome/browser/system_monitor/removable_device_notifications_chromeos.h
index 0425ac712470d4027ef614110ec3d1147d095140..d217ed99b820aef3eb55d3044b2ee8fc5a5920dc 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_chromeos.h
+++ b/chrome/browser/system_monitor/removable_device_notifications_chromeos.h
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// chromeos::RemovableDeviceNotificationsCros listens for mount point changes
-// and notifies the SystemMonitor about the addition and deletion of media
+// and notifies listeners about the addition and deletion of media
// devices.
#ifndef CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_CHROMEOS_H_
@@ -19,7 +19,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "base/system_monitor/system_monitor.h"
#include "chrome/browser/system_monitor/removable_storage_notifications.h"
#include "chromeos/disks/disk_mount_manager.h"
@@ -49,7 +48,7 @@ class RemovableDeviceNotificationsCros
// Returns false if unable to find the device.
virtual bool GetDeviceInfoForPath(
const FilePath& path,
- base::SystemMonitor::RemovableStorageInfo* device_info) const OVERRIDE;
+ StorageInfo* device_info) const OVERRIDE;
// Returns the storage size of the device present at |location|. If the
// device information is unavailable, returns zero.
@@ -58,7 +57,7 @@ class RemovableDeviceNotificationsCros
private:
struct StorageObjectInfo {
// Basic details {storage device name, location and identifier}.
- base::SystemMonitor::RemovableStorageInfo storage_info;
+ StorageInfo storage_info;
// Device storage size.
uint64 storage_size_in_bytes;

Powered by Google App Engine
This is Rietveld 408576698