Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: chrome/browser/browser_process_impl.h

Issue 342043: Connect the various pieces for notifications... hook up NotificationUIManager... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove stale TODO Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.h
===================================================================
--- chrome/browser/browser_process_impl.h (revision 30470)
+++ chrome/browser/browser_process_impl.h (working copy)
@@ -126,6 +126,13 @@
return clipboard_.get();
}
+ virtual NotificationUIManager* notification_ui_manager() {
+ DCHECK(CalledOnValidThread());
+ if (!created_notification_ui_manager_)
+ CreateNotificationUIManager();
+ return notification_ui_manager_.get();
+ }
+
virtual IconManager* icon_manager() {
DCHECK(CalledOnValidThread());
if (!created_icon_manager_)
@@ -217,6 +224,7 @@
void CreateDebuggerWrapper(int port);
void CreateDevToolsManager();
void CreateGoogleURLTracker();
+ void CreateNotificationUIManager();
#if defined(OS_WIN)
void InitBrokerServices(sandbox::BrokerServices* broker_services);
@@ -267,6 +275,10 @@
scoped_ptr<Clipboard> clipboard_;
+ // Manager for desktop notification UI.
+ bool created_notification_ui_manager_;
+ scoped_ptr<NotificationUIManager> notification_ui_manager_;
+
scoped_ptr<AutomationProviderList> automation_provider_list_;
scoped_ptr<GoogleURLTracker> google_url_tracker_;
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698