diff options
author | peter <peter@chromium.org> | 2014-10-30 16:19:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-30 23:19:57 +0000 |
commit | cf29ede833a3acda53607f9050612bafe52f2321 (patch) | |
tree | 314f068ab38d23a4877554c366db2e384f4c63c2 /ash/system/locale/locale_notification_controller.cc | |
parent | 50abe634af1d1aa8600dffaaabb15f3f35338fd6 (diff) | |
download | chromium_src-cf29ede833a3acda53607f9050612bafe52f2321.zip chromium_src-cf29ede833a3acda53607f9050612bafe52f2321.tar.gz chromium_src-cf29ede833a3acda53607f9050612bafe52f2321.tar.bz2 |
Provide default implementations for NotificationDelegate methods.
Many implementations of the NotificationDelegate include empty overrides
because of behavior they don't actually need to be informed of. Provide
empty default implementations so that they don't have to. (And remove the
associated TODO.)
BUG=428370
Review URL: https://codereview.chromium.org/684253002
Cr-Commit-Position: refs/heads/master@{#302190}
Diffstat (limited to 'ash/system/locale/locale_notification_controller.cc')
-rw-r--r-- | ash/system/locale/locale_notification_controller.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ash/system/locale/locale_notification_controller.cc b/ash/system/locale/locale_notification_controller.cc index 63a4210..20351ad 100644 --- a/ash/system/locale/locale_notification_controller.cc +++ b/ash/system/locale/locale_notification_controller.cc @@ -32,8 +32,6 @@ class LocaleNotificationDelegate : public message_center::NotificationDelegate { ~LocaleNotificationDelegate() override; // message_center::NotificationDelegate overrides: - void Display() override; - void Error() override; void Close(bool by_user) override; bool HasClickedListener() override; void Click() override; @@ -54,12 +52,6 @@ LocaleNotificationDelegate::LocaleNotificationDelegate( LocaleNotificationDelegate::~LocaleNotificationDelegate() { } -void LocaleNotificationDelegate::Display() { -} - -void LocaleNotificationDelegate::Error() { -} - void LocaleNotificationDelegate::Close(bool by_user) { delegate_->AcceptLocaleChange(); } |