Index: chrome/browser/storage_monitor/storage_monitor_mac.h |
diff --git a/chrome/browser/storage_monitor/removable_device_notifications_mac.h b/chrome/browser/storage_monitor/storage_monitor_mac.h |
similarity index 87% |
rename from chrome/browser/storage_monitor/removable_device_notifications_mac.h |
rename to chrome/browser/storage_monitor/storage_monitor_mac.h |
index 847872e2db3f034502f042b0d5cef73afad932cb..26312f26cffe7d7c793ca80329184dc55863eeb5 100644 |
--- a/chrome/browser/storage_monitor/removable_device_notifications_mac.h |
+++ b/chrome/browser/storage_monitor/storage_monitor_mac.h |
@@ -17,9 +17,9 @@ namespace chrome { |
// This class posts notifications to listeners when a new disk |
// is attached, removed, or changed. |
-class RemovableDeviceNotificationsMac |
+class StorageMonitorMac |
: public StorageMonitor, |
- public base::RefCountedThreadSafe<RemovableDeviceNotificationsMac> { |
+ public base::RefCountedThreadSafe<StorageMonitorMac> { |
public: |
enum UpdateType { |
UPDATE_DEVICE_ADDED, |
@@ -28,7 +28,7 @@ class RemovableDeviceNotificationsMac |
}; |
// Should only be called by browser start up code. Use GetInstance() instead. |
- RemovableDeviceNotificationsMac(); |
+ StorageMonitorMac(); |
void UpdateDisk(const DiskInfoMac& info, UpdateType update_type); |
@@ -42,8 +42,8 @@ class RemovableDeviceNotificationsMac |
virtual uint64 GetStorageSize(const std::string& location) const OVERRIDE; |
private: |
- friend class base::RefCountedThreadSafe<RemovableDeviceNotificationsMac>; |
- virtual ~RemovableDeviceNotificationsMac(); |
+ friend class base::RefCountedThreadSafe<StorageMonitorMac>; |
+ virtual ~StorageMonitorMac(); |
static void DiskAppearedCallback(DADiskRef disk, void* context); |
static void DiskDisappearedCallback(DADiskRef disk, void* context); |
@@ -61,7 +61,7 @@ class RemovableDeviceNotificationsMac |
// posted. |
std::map<std::string, DiskInfoMac> disk_info_map_; |
- DISALLOW_COPY_AND_ASSIGN(RemovableDeviceNotificationsMac); |
+ DISALLOW_COPY_AND_ASSIGN(StorageMonitorMac); |
}; |
} // namespace chrome |