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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 208068: Desktop Notifications UI (for windows) (Closed)
Patch Set: Created 11 years, 3 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/balloon_contents_win.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
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index f971e8070af27051d77f628ff80d7c57d8545640..500337c8c69579752b7ca6eb5f9b1a9fca06d245 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -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"
@@ -139,6 +140,9 @@ BrowserProcessImpl::BrowserProcessImpl(const CommandLine& command_line)
created_icon_manager_(false),
created_debugger_wrapper_(false),
created_devtools_manager_(false),
+#if defined(OS_WIN)
+ created_notification_ui_manager_(false),
+#endif
module_ref_count_(0),
memory_model_(HIGH_MEMORY_MODEL),
checked_for_new_frames_(false),
@@ -438,6 +442,13 @@ void BrowserProcessImpl::CreateGoogleURLTracker() {
google_url_tracker_.swap(google_url_tracker);
}
+#if defined(OS_WIN)
+void BrowserProcessImpl::CreateNotificationUIManager() {
+ DCHECK(notification_ui_manager_.get() == NULL);
+ notification_ui_manager_.reset(NotificationUIManager::Create());
+}
+#endif
+
// 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/balloon_contents_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698