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

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

Issue 2685283002: Add UpdateNotificationSize to MessageCenterController. (Closed)
Patch Set: address comments 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/custom_notification_view_unittest.cc
diff --git a/ui/message_center/views/custom_notification_view_unittest.cc b/ui/message_center/views/custom_notification_view_unittest.cc
index 5c82693921e2299ab5a1bed9a91a22b2f0af1154..c90b1ac06932b8bd6bb0ef9a0ff36366a18a79a2 100644
--- a/ui/message_center/views/custom_notification_view_unittest.cc
+++ b/ui/message_center/views/custom_notification_view_unittest.cc
@@ -146,6 +146,11 @@ class TestMessageCenterController : public MessageCenterController {
NOTREACHED();
}
+ void UpdateNotificationSize(const std::string& notification_id) override {
+ // For this test, this method should not be invoked.
+ NOTREACHED();
+ }
+
bool IsRemoved(const std::string& notification_id) const {
return (removed_ids_.find(notification_id) != removed_ids_.end());
}
« no previous file with comments | « ui/message_center/views/custom_notification_view.cc ('k') | ui/message_center/views/message_center_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698