Index: chrome/browser/browser_process_impl.h |
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h |
index 5bf3509d2b4b96a36c1792a83e71d52a9c695b84..d8903cb183cb56439806a07d64e6e45dd8f67de6 100644 |
--- a/chrome/browser/browser_process_impl.h |
+++ b/chrome/browser/browser_process_impl.h |
@@ -125,6 +125,15 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { |
return clipboard_.get(); |
} |
+#if defined(OS_WIN) |
+ virtual NotificationUIManager* notification_ui_manager() { |
+ DCHECK(CalledOnValidThread()); |
+ if (!created_notification_ui_manager_) |
+ CreateNotificationUIManager(); |
+ return notification_ui_manager_.get(); |
+ } |
+#endif |
+ |
virtual IconManager* icon_manager() { |
DCHECK(CalledOnValidThread()); |
if (!created_icon_manager_) |
@@ -219,6 +228,10 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { |
void CreateGoogleURLTracker(); |
#if defined(OS_WIN) |
+ void CreateNotificationUIManager(); |
+#endif |
+ |
+#if defined(OS_WIN) |
void InitBrokerServices(sandbox::BrokerServices* broker_services); |
#endif // defined(OS_WIN) |
@@ -263,6 +276,12 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { |
scoped_ptr<Clipboard> clipboard_; |
+#if defined(OS_WIN) |
+ // Manager for desktop notification UI. |
+ bool created_notification_ui_manager_; |
+ scoped_ptr<NotificationUIManager> notification_ui_manager_; |
+#endif |
+ |
scoped_ptr<AutomationProviderList> automation_provider_list_; |
scoped_ptr<GoogleURLTracker> google_url_tracker_; |