| Index: chrome/browser/storage_monitor/storage_monitor.h
|
| diff --git a/chrome/browser/storage_monitor/storage_monitor.h b/chrome/browser/storage_monitor/storage_monitor.h
|
| index 5661c80fb5e9252682528a16d2c4038105f2154a..9884fb22ea7027219232cb9b260eff75cac91ed3 100644
|
| --- a/chrome/browser/storage_monitor/storage_monitor.h
|
| +++ b/chrome/browser/storage_monitor/storage_monitor.h
|
| @@ -68,10 +68,16 @@ class StorageMonitor {
|
| EJECT_FAILURE
|
| };
|
|
|
| + // Returns a pointer to a created per-platform object with the StorageMonitor
|
| + // interface.
|
| + static StorageMonitor* Create();
|
| +
|
| // Returns a pointer to an object owned by the BrowserMainParts, with lifetime
|
| // somewhat shorter than a process Singleton.
|
| static StorageMonitor* GetInstance();
|
|
|
| + StorageMonitor();
|
| + virtual ~StorageMonitor();
|
| // Ensures that the storage monitor is initialized. The provided callback, If
|
| // non-null, will be called when initialization is complete. If initialization
|
| // has already completed, this callback will be invoked within the calling
|
| @@ -131,9 +137,6 @@ class StorageMonitor {
|
| friend class MediaFileSystemRegistryTest;
|
| friend class ::SystemInfoStorageApiTest;
|
|
|
| - StorageMonitor();
|
| - virtual ~StorageMonitor();
|
| -
|
| // Removes the existing singleton for testing.
|
| // (So that a new one can be created.)
|
| static void RemoveSingletonForTesting();
|
|
|