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

Unified Diff: ui/message_center/notification_delegate.cc

Issue 2423413003: Adding NOTREACHED to see if any of the methods are called (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification_delegate.cc
diff --git a/ui/message_center/notification_delegate.cc b/ui/message_center/notification_delegate.cc
index 70675233293179c66f636f56be93e89e35492d9e..05157710f6cbb0d0f9a8e12b53fc9c50a020f7ce 100644
--- a/ui/message_center/notification_delegate.cc
+++ b/ui/message_center/notification_delegate.cc
@@ -10,15 +10,26 @@ namespace message_center {
// NotificationDelegate:
-void NotificationDelegate::Display() {}
+void NotificationDelegate::Display() {
+ NOTREACHED();
+}
-void NotificationDelegate::Close(bool by_user) {}
+void NotificationDelegate::Close(bool by_user) {
+ NOTREACHED();
+}
-bool NotificationDelegate::HasClickedListener() { return false; }
+bool NotificationDelegate::HasClickedListener() {
+ NOTREACHED();
+ return false;
+}
-void NotificationDelegate::Click() {}
+void NotificationDelegate::Click() {
+ NOTREACHED();
+}
-void NotificationDelegate::ButtonClick(int button_index) {}
+void NotificationDelegate::ButtonClick(int button_index) {
+ NOTREACHED();
+}
void NotificationDelegate::ButtonClickWithReply(int button_index,
const base::string16& reply) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698