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

Unified Diff: ui/message_center/message_center.h

Issue 11819048: Implement message center on Windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Now with more tests, and corrected copyright notices. Created 7 years, 11 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
Index: ui/message_center/message_center.h
diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h
index ff7eb0310d8b8d5356b5f89bd506ca9134dfbbf7..ae98db23d9402643cfca9a3f60d2b4c9c7096f73 100644
--- a/ui/message_center/message_center.h
+++ b/ui/message_center/message_center.h
@@ -13,8 +13,6 @@
#include "ui/message_center/notification_list.h"
#include "ui/notifications/notification_types.h"
-template <typename T> struct DefaultSingletonTraits;
-
namespace base {
class DictionaryValue;
}
@@ -74,8 +72,7 @@ class MESSAGE_CENTER_EXPORT MessageCenter : public NotificationList::Delegate {
virtual ~Delegate() {}
};
- static MessageCenter* GetInstance();
-
+ MessageCenter();
virtual ~MessageCenter();
// Called to set the delegate. Generally called only once, except in tests.
@@ -146,9 +143,6 @@ class MESSAGE_CENTER_EXPORT MessageCenter : public NotificationList::Delegate {
virtual NotificationList* GetNotificationList() OVERRIDE;
private:
- friend struct DefaultSingletonTraits<MessageCenter>;
- MessageCenter();
-
// Calls OnMessageCenterChanged on each observer.
void NotifyMessageCenterChanged(bool new_notification);

Powered by Google App Engine
This is Rietveld 408576698