| 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 dfed9e8cf3ac096ccd8051279da7880734549642..5661c80fb5e9252682528a16d2c4038105f2154a 100644
|
| --- a/chrome/browser/storage_monitor/storage_monitor.h
|
| +++ b/chrome/browser/storage_monitor/storage_monitor.h
|
| @@ -72,14 +72,14 @@ class StorageMonitor {
|
| // somewhat shorter than a process Singleton.
|
| static StorageMonitor* GetInstance();
|
|
|
| - // Initialize the storage monitor. 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 stack.
|
| - // Before the callback is run, calls to |GetAllAvailableStorages| and
|
| + // 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
|
| + // stack. Before the callback is run, calls to |GetAllAvailableStorages| and
|
| // |GetStorageInfoForPath| may not return the correct results. In addition,
|
| // registered observers will not be notified on device attachment/detachment.
|
| // Should be invoked on the UI thread; callbacks will be run on the UI thread.
|
| - void Initialize(base::Closure callback);
|
| + void EnsureInitialized(base::Closure callback);
|
|
|
| // Return true if the storage monitor has already been initialized.
|
| bool IsInitialized();
|
|
|