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

Unified Diff: chrome/browser/browser_process_impl.cc

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_impl.h ('k') | chrome/browser/notifications/desktop_notification_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
===================================================================
--- chrome/browser/browser_process_impl.cc (revision 30470)
+++ chrome/browser/browser_process_impl.cc (working copy)
@@ -22,6 +22,7 @@
#include "chrome/browser/metrics/metrics_service.h"
#include "chrome/browser/net/dns_global.h"
#include "chrome/browser/net/sdch_dictionary_fetcher.h"
+#include "chrome/browser/notifications/notification_ui_manager.h"
#include "chrome/browser/plugin_service.h"
#include "chrome/browser/profile_manager.h"
#include "chrome/browser/renderer_host/render_process_host.h"
@@ -147,6 +148,7 @@
created_icon_manager_(false),
created_debugger_wrapper_(false),
created_devtools_manager_(false),
+ created_notification_ui_manager_(false),
module_ref_count_(0),
checked_for_new_frames_(false),
using_new_frames_(false),
@@ -433,6 +435,12 @@
google_url_tracker_.swap(google_url_tracker);
}
+void BrowserProcessImpl::CreateNotificationUIManager() {
+ DCHECK(notification_ui_manager_.get() == NULL);
+ notification_ui_manager_.reset(NotificationUIManager::Create());
+ created_notification_ui_manager_ = true;
+}
+
// The BrowserProcess object must outlive the file thread so we use traits
// which don't do any management.
template <>
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/browser/notifications/desktop_notification_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698