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

Unified Diff: chrome/browser/signin/signin_error_notifier_ash.cc

Issue 684253002: Provide default implementations for NotificationDelegate methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: chrome/browser/signin/signin_error_notifier_ash.cc
diff --git a/chrome/browser/signin/signin_error_notifier_ash.cc b/chrome/browser/signin/signin_error_notifier_ash.cc
index d1f9f5818f07271d8e43bbe27f49f13fc2482b69..a7d663ea074119c213982d7e80bc3ce173b5b636 100644
--- a/chrome/browser/signin/signin_error_notifier_ash.cc
+++ b/chrome/browser/signin/signin_error_notifier_ash.cc
@@ -50,10 +50,6 @@ class SigninNotificationDelegate : public NotificationDelegate {
Profile* profile);
// NotificationDelegate:
- void Display() override;
- void Error() override;
- void Close(bool by_user) override;
- bool HasClickedListener() override;
void Click() override;
void ButtonClick(int button_index) override;
std::string id() const override;
@@ -82,19 +78,6 @@ SigninNotificationDelegate::SigninNotificationDelegate(
SigninNotificationDelegate::~SigninNotificationDelegate() {
}
-void SigninNotificationDelegate::Display() {
-}
-
-void SigninNotificationDelegate::Error() {
-}
-
-void SigninNotificationDelegate::Close(bool by_user) {
-}
-
-bool SigninNotificationDelegate::HasClickedListener() {
- return false;
-}
-
void SigninNotificationDelegate::Click() {
FixSignIn();
}
« no previous file with comments | « chrome/browser/notifications/notification_test_util.h ('k') | chrome/browser/status_icons/desktop_notification_balloon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698