Index: chrome/browser/storage_monitor/removable_device_notifications_chromeos.h |
diff --git a/chrome/browser/storage_monitor/removable_device_notifications_chromeos.h b/chrome/browser/storage_monitor/removable_device_notifications_chromeos.h |
index be745499bc268a9916ffc98c6ec66693e2914d1e..5d34fe4f4d136f7c4450c774032e9ac04824f87c 100644 |
--- a/chrome/browser/storage_monitor/removable_device_notifications_chromeos.h |
+++ b/chrome/browser/storage_monitor/removable_device_notifications_chromeos.h |
@@ -22,6 +22,10 @@ |
#include "chrome/browser/storage_monitor/storage_monitor.h" |
#include "chromeos/disks/disk_mount_manager.h" |
+namespace chrome { |
+class MediaTransferProtocolDeviceObserverLinux; |
+} |
+ |
namespace chromeos { |
class RemovableDeviceNotificationsCros |
@@ -32,6 +36,10 @@ class RemovableDeviceNotificationsCros |
// Should only be called by browser start up code. Use GetInstance() instead. |
RemovableDeviceNotificationsCros(); |
+ // Sets up disk listeners and issues notifications for any discovered |
+ // mount points. Sets up MTP manager and listeners. |
+ void Init(); |
+ |
virtual void OnDiskEvent(disks::DiskMountManager::DiskEvent event, |
const disks::DiskMountManager::Disk* disk) OVERRIDE; |
virtual void OnDeviceEvent(disks::DiskMountManager::DeviceEvent event, |
@@ -91,6 +99,9 @@ class RemovableDeviceNotificationsCros |
// Only accessed on the UI thread. |
MountMap mount_map_; |
+ scoped_ptr<chrome::MediaTransferProtocolDeviceObserverLinux> |
+ media_transfer_protocol_device_observer_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RemovableDeviceNotificationsCros); |
}; |