Index: chrome/browser/browser_process_impl.h |
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h |
index 50ab5a2225d2d9be7fb0890229c9aedaba4c8e7b..118400e3ad903c2a2cfbdce733d358950eb32067 100644 |
--- a/chrome/browser/browser_process_impl.h |
+++ b/chrome/browser/browser_process_impl.h |
@@ -140,6 +140,13 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { |
return notification_ui_manager_.get(); |
} |
+ virtual StatusTrayManager* status_tray_manager() { |
+ DCHECK(CalledOnValidThread()); |
+ if (!status_tray_manager_.get()) |
+ CreateStatusTrayManager(); |
+ return status_tray_manager_.get(); |
+ } |
+ |
virtual IconManager* icon_manager() { |
DCHECK(CalledOnValidThread()); |
if (!created_icon_manager_) |
@@ -235,6 +242,7 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { |
void CreateGoogleURLTracker(); |
void CreateIntranetRedirectDetector(); |
void CreateNotificationUIManager(); |
+ void CreateStatusTrayManager(); |
#if defined(IPC_MESSAGE_LOG_ENABLED) |
void SetIPCLoggingEnabledForChildProcesses(bool enabled); |
@@ -288,6 +296,9 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { |
bool created_notification_ui_manager_; |
scoped_ptr<NotificationUIManager> notification_ui_manager_; |
+ // Manager for status tray. |
+ scoped_ptr<StatusTrayManager> status_tray_manager_; |
+ |
scoped_ptr<AutomationProviderList> automation_provider_list_; |
scoped_ptr<GoogleURLTracker> google_url_tracker_; |