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

Unified Diff: chrome/browser/notifications/message_center_notification_manager.cc

Issue 11684003: Make MessageCenter a singleton object and build on Windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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
Index: chrome/browser/notifications/message_center_notification_manager.cc
diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc
index ca42a47324075b99d39a98500993d168eaee60fb..d81b17ad07a8065f53aef2f685464d6cccc2f072 100644
--- a/chrome/browser/notifications/message_center_notification_manager.cc
+++ b/chrome/browser/notifications/message_center_notification_manager.cc
@@ -9,8 +9,10 @@
#include "chrome/browser/notifications/notification.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/pref_names.h"
+#include "ui/message_center/message_center.h"
MessageCenterNotificationManager::MessageCenterNotificationManager() {
+ message_center_ = message_center::MessageCenter::GetInstance();
stevenjb 2012/12/27 19:49:34 We don't need to seem to need this yet - maybe wai
dewittj 2012/12/27 23:38:50 Done. Good idea.
}
MessageCenterNotificationManager::~MessageCenterNotificationManager() {

Powered by Google App Engine
This is Rietveld 408576698