Index: ui/message_center/notification_list_unittest.cc |
diff --git a/ui/message_center/notification_list_unittest.cc b/ui/message_center/notification_list_unittest.cc |
index 4cf791e2ee3670f8f107d8a95048b0e3fc84adac..2c245df431eba2c6e45e27879c65f3445803b6ce 100644 |
--- a/ui/message_center/notification_list_unittest.cc |
+++ b/ui/message_center/notification_list_unittest.cc |
@@ -27,42 +27,18 @@ class MockNotificationListDelegate : public NotificationList::Delegate { |
} |
private: |
- // NotificationList::Delegate overrides: |
- virtual void SendRemoveNotification(const std::string& id, |
+ // Overridden from NotificationList::Delegate: |
+ virtual void NotificationWasRemoved(const std::string& id, |
bool by_user) OVERRIDE { |
send_remove_count_++; |
} |
- virtual void SendRemoveAllNotifications(bool by_user) OVERRIDE { |
- } |
- |
- virtual void DisableNotificationByExtension(const std::string& id) OVERRIDE { |
- } |
- |
- virtual void DisableNotificationByUrl(const std::string& id) OVERRIDE { |
- } |
- |
- virtual void ShowNotificationSettings(const std::string& id) OVERRIDE { |
- } |
- |
- virtual void ShowNotificationSettingsDialog( |
- gfx::NativeView context) OVERRIDE { |
- } |
- |
- virtual void OnNotificationClicked(const std::string& id) OVERRIDE { |
+ virtual void AllNotificationsWereRemoved(bool by_user) OVERRIDE { |
} |
virtual void OnQuietModeChanged(bool quiet_mode) OVERRIDE { |
} |
- virtual void OnButtonClicked(const std::string& id, |
- int button_index) OVERRIDE { |
- } |
- |
- virtual NotificationList* GetNotificationList() OVERRIDE { |
- return NULL; |
- } |
- |
size_t send_remove_count_; |
DISALLOW_COPY_AND_ASSIGN(MockNotificationListDelegate); |
}; |