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

Unified Diff: ui/message_center/views/message_center_view_unittest.cc

Issue 2685283002: Add UpdateNotificationSize to MessageCenterController. (Closed)
Patch Set: whitespace Created 3 years, 10 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/views/message_center_view_unittest.cc
diff --git a/ui/message_center/views/message_center_view_unittest.cc b/ui/message_center/views/message_center_view_unittest.cc
index e038a8d5854c25ff69d67abf4930194ec06680e5..c47f937b3ba5bf35e935ddd8bda83093eb8bba89 100644
--- a/ui/message_center/views/message_center_view_unittest.cc
+++ b/ui/message_center/views/message_center_view_unittest.cc
@@ -156,6 +156,7 @@ class MessageCenterViewTest : public views::ViewsTestBase,
void ClickOnNotificationButton(const std::string& notification_id,
int button_index) override;
void ClickOnSettingsButton(const std::string& notification_id) override;
+ void ShouldUpdateNotification(const std::string& notification_id) override;
// Overridden from MockNotificationView::Test
void RegisterCall(CallType type) override;
@@ -353,6 +354,12 @@ void MessageCenterViewTest::ClickOnSettingsButton(
NOTREACHED();
}
+void MessageCenterViewTest::ShouldUpdateNotification(
+ const std::string& notification_id) {
+ // For this test, this method should not be invoked.
+ NOTREACHED();
+}
+
void MessageCenterViewTest::RegisterCall(CallType type) {
callCounts_[type] += 1;
}

Powered by Google App Engine
This is Rietveld 408576698