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); |