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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_mac.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_mac.h
diff --git a/chrome/browser/storage_monitor/storage_monitor_mac.h b/chrome/browser/storage_monitor/storage_monitor_mac.h
index 89995a5b285726ef46d5a500aafec3802c30723b..e52efe14738fd65792806a16eaaa896d196eb8bb 100644
--- a/chrome/browser/storage_monitor/storage_monitor_mac.h
+++ b/chrome/browser/storage_monitor/storage_monitor_mac.h
@@ -15,6 +15,8 @@
namespace chrome {
+class ImageCaptureDeviceManager;
+
// This class posts notifications to listeners when a new disk
// is attached, removed, or changed.
class StorageMonitorMac
@@ -30,6 +32,8 @@ class StorageMonitorMac
// Should only be called by browser start up code. Use GetInstance() instead.
StorageMonitorMac();
+ void Init();
+
void UpdateDisk(const DiskInfoMac& info, UpdateType update_type);
virtual bool GetStorageInfoForPath(
@@ -65,6 +69,8 @@ class StorageMonitorMac
// posted.
std::map<std::string, DiskInfoMac> disk_info_map_;
+ scoped_ptr<chrome::ImageCaptureDeviceManager> image_capture_device_manager_;
+
DISALLOW_COPY_AND_ASSIGN(StorageMonitorMac);
};
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor_linux.cc ('k') | chrome/browser/storage_monitor/storage_monitor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698