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

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

Issue 23636010: Notifications: Add cross-platform UMA: ShowMessageCenter, ShowSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove spurious test code. Created 7 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
Index: chrome/browser/notifications/message_center_notification_manager.h
diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h
index cb5dc79022b3e4b320534043645c5ee239fe6ce3..ccb14a8c3c5e908a75387a86212ae1cbdb8ceb9b 100644
--- a/chrome/browser/notifications/message_center_notification_manager.h
+++ b/chrome/browser/notifications/message_center_notification_manager.h
@@ -31,7 +31,6 @@ class Profile;
// of notifications to MessageCenter, doing necessary conversions.
class MessageCenterNotificationManager
: public NotificationUIManagerImpl,
- public message_center::MessageCenter::Delegate,
public message_center::MessageCenterObserver {
public:
MessageCenterNotificationManager(
@@ -57,13 +56,10 @@ class MessageCenterNotificationManager
virtual bool UpdateNotification(const Notification& notification,
Profile* profile) OVERRIDE;
- // MessageCenter::Delegate
- virtual void ShowSettings(const std::string& notification_id) OVERRIDE;
-
// MessageCenterObserver
virtual void OnNotificationRemoved(const std::string& notification_id,
bool by_user) OVERRIDE;
- virtual void OnNotificationCenterClosed() OVERRIDE;
+ virtual void OnCenterVisibilityChanged(message_center::Visibility) OVERRIDE;
virtual void OnNotificationUpdated(const std::string& notification_id)
OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698