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

Unified Diff: chrome/browser/chromeos/policy/consumer_enrollment_handler.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: chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
diff --git a/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc b/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
index aa1238ebe66f8089ef8151fb1eb8e607b2532f6a..09b49158ebaab3965c595e7239314d66db15b099 100644
--- a/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
+++ b/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
@@ -77,7 +77,6 @@ class DesktopNotificationDelegate : public NotificationDelegate {
virtual std::string id() const override;
virtual void Display() override;
virtual void ButtonClick(int button_index) override;
- virtual void Error() override;
virtual void Close(bool by_user) override;
virtual void Click() override;
@@ -110,9 +109,6 @@ void DesktopNotificationDelegate::ButtonClick(int button_index) {
button_click_callback_.Run();
}
-void DesktopNotificationDelegate::Error() {
-}
-
void DesktopNotificationDelegate::Close(bool by_user) {
}

Powered by Google App Engine
This is Rietveld 408576698