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

Unified Diff: ash/system/locale/locale_notification_controller.cc

Issue 687183004: Remove the OnError method from notification delegates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: ash/system/locale/locale_notification_controller.cc
diff --git a/ash/system/locale/locale_notification_controller.cc b/ash/system/locale/locale_notification_controller.cc
index 63a4210591d4c872f84c340ee91e44c3ae9bcc38..c2b7e5271a823d8ecb5ef69dcad20ae1bd95c306 100644
--- a/ash/system/locale/locale_notification_controller.cc
+++ b/ash/system/locale/locale_notification_controller.cc
@@ -33,7 +33,6 @@ class LocaleNotificationDelegate : public message_center::NotificationDelegate {
// message_center::NotificationDelegate overrides:
void Display() override;
- void Error() override;
void Close(bool by_user) override;
bool HasClickedListener() override;
void Click() override;
@@ -57,9 +56,6 @@ LocaleNotificationDelegate::~LocaleNotificationDelegate() {
void LocaleNotificationDelegate::Display() {
}
-void LocaleNotificationDelegate::Error() {
-}
-
void LocaleNotificationDelegate::Close(bool by_user) {
delegate_->AcceptLocaleChange();
}

Powered by Google App Engine
This is Rietveld 408576698