| Index: chrome/browser/background/background_mode_manager.h
|
| diff --git a/chrome/browser/background/background_mode_manager.h b/chrome/browser/background/background_mode_manager.h
|
| index 8ced6a73742b85153f7d02ce4f2202564bc21cc3..45d61c971a06817458bbb874653edf94b4f3809a 100644
|
| --- a/chrome/browser/background/background_mode_manager.h
|
| +++ b/chrome/browser/background/background_mode_manager.h
|
| @@ -328,9 +328,13 @@ class BackgroundModeManager
|
| base::string16 GetPreferencesMenuLabel();
|
|
|
| // Create a status tray icon to allow the user to shutdown Chrome when running
|
| - // in background mode. Virtual to enable testing.
|
| + // in background mode. Asynchronous (|status_icon_| will not be ready
|
| + // immediately). Virtual to enable testing.
|
| virtual void CreateStatusTrayIcon();
|
|
|
| + // Internal implementation of CreateStatusTrayIcon (for use as a posted task).
|
| + void CreateStatusTrayIconTask();
|
| +
|
| // Removes the status tray icon because we are exiting background mode.
|
| // Virtual to enable testing.
|
| virtual void RemoveStatusTrayIcon();
|
|
|