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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_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: Fix comment name Created 7 years, 9 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/storage_monitor_linux.h
diff --git a/chrome/browser/storage_monitor/storage_monitor_linux.h b/chrome/browser/storage_monitor/storage_monitor_linux.h
index 611dacbd1790a830d700cb9b68630812bf46ea45..725d3a37c33c24fee00078c76ae250498aea416a 100644
--- a/chrome/browser/storage_monitor/storage_monitor_linux.h
+++ b/chrome/browser/storage_monitor/storage_monitor_linux.h
@@ -43,6 +43,8 @@ typedef void (*GetDeviceInfoFunc)(const base::FilePath& device_path,
namespace chrome {
+class MediaTransferProtocolDeviceObserverLinux;
+
class StorageMonitorLinux
: public StorageMonitor,
public base::RefCountedThreadSafe<StorageMonitorLinux,
@@ -141,6 +143,9 @@ class StorageMonitorLinux
// points.
MountPriorityMap mount_priority_map_;
+ scoped_ptr<MediaTransferProtocolDeviceObserverLinux>
+ media_transfer_protocol_device_observer_;
+
DISALLOW_COPY_AND_ASSIGN(StorageMonitorLinux);
};
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor_chromeos.cc ('k') | chrome/browser/storage_monitor/storage_monitor_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698