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

Unified Diff: chrome/browser/storage_monitor/removable_device_notifications_linux.h

Issue 12334096: Regularize ownerships and lifecycle for storage monitor platform classes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Document lifecycle in storage_monitor.h Created 7 years, 10 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/storage_monitor/removable_device_notifications_linux.h
diff --git a/chrome/browser/storage_monitor/removable_device_notifications_linux.h b/chrome/browser/storage_monitor/removable_device_notifications_linux.h
index 2c4a75612fa9bc50c4194ae5c9448eaf2efb8b16..754983ff25f8dd2aa556ecb5953c4f44946a2623 100644
--- a/chrome/browser/storage_monitor/removable_device_notifications_linux.h
+++ b/chrome/browser/storage_monitor/removable_device_notifications_linux.h
@@ -39,6 +39,8 @@ typedef void (*GetDeviceInfoFunc)(const base::FilePath& device_path,
namespace chrome {
+class MediaTransferProtocolDeviceObserverLinux;
+
class RemovableDeviceNotificationsLinux
: public StorageMonitor,
public base::RefCountedThreadSafe<RemovableDeviceNotificationsLinux,
@@ -141,6 +143,9 @@ class RemovableDeviceNotificationsLinux
// points.
MountPriorityMap mount_priority_map_;
+ scoped_ptr<MediaTransferProtocolDeviceObserverLinux>
+ media_transfer_protocol_device_observer_;
+
DISALLOW_COPY_AND_ASSIGN(RemovableDeviceNotificationsLinux);
};

Powered by Google App Engine
This is Rietveld 408576698