| Index: chrome/browser/storage_monitor/storage_monitor_chromeos.h
|
| diff --git a/chrome/browser/storage_monitor/removable_device_notifications_chromeos.h b/chrome/browser/storage_monitor/storage_monitor_chromeos.h
|
| similarity index 91%
|
| rename from chrome/browser/storage_monitor/removable_device_notifications_chromeos.h
|
| rename to chrome/browser/storage_monitor/storage_monitor_chromeos.h
|
| index be745499bc268a9916ffc98c6ec66693e2914d1e..30e94d641c626c9973009cdd5a765156d2651224 100644
|
| --- a/chrome/browser/storage_monitor/removable_device_notifications_chromeos.h
|
| +++ b/chrome/browser/storage_monitor/storage_monitor_chromeos.h
|
| @@ -24,13 +24,13 @@
|
|
|
| namespace chromeos {
|
|
|
| -class RemovableDeviceNotificationsCros
|
| +class StorageMonitorCros
|
| : public chrome::StorageMonitor,
|
| - public base::RefCountedThreadSafe<RemovableDeviceNotificationsCros>,
|
| + public base::RefCountedThreadSafe<StorageMonitorCros>,
|
| public disks::DiskMountManager::Observer {
|
| public:
|
| // Should only be called by browser start up code. Use GetInstance() instead.
|
| - RemovableDeviceNotificationsCros();
|
| + StorageMonitorCros();
|
|
|
| virtual void OnDiskEvent(disks::DiskMountManager::DiskEvent event,
|
| const disks::DiskMountManager::Disk* disk) OVERRIDE;
|
| @@ -63,13 +63,13 @@ class RemovableDeviceNotificationsCros
|
| uint64 storage_size_in_bytes;
|
| };
|
|
|
| - friend class base::RefCountedThreadSafe<RemovableDeviceNotificationsCros>;
|
| + friend class base::RefCountedThreadSafe<StorageMonitorCros>;
|
|
|
| // Mapping of mount path to removable mass storage info.
|
| typedef std::map<std::string, StorageObjectInfo> MountMap;
|
|
|
| // Private to avoid code deleting the object.
|
| - virtual ~RemovableDeviceNotificationsCros();
|
| + virtual ~StorageMonitorCros();
|
|
|
| // Checks existing mount points map for media devices. For each mount point,
|
| // call CheckMountedPathOnFileThread() below.
|
| @@ -91,7 +91,7 @@ class RemovableDeviceNotificationsCros
|
| // Only accessed on the UI thread.
|
| MountMap mount_map_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(RemovableDeviceNotificationsCros);
|
| + DISALLOW_COPY_AND_ASSIGN(StorageMonitorCros);
|
| };
|
|
|
| } // namespace chromeos
|
|
|