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

Unified Diff: chrome/browser/chromeos/file_system_provider/notification_manager.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/file_system_provider/notification_manager.cc
diff --git a/chrome/browser/chromeos/file_system_provider/notification_manager.cc b/chrome/browser/chromeos/file_system_provider/notification_manager.cc
index 487e68a6ebb9ef81076ce9cb44545738013b8332..22938d5752ceb59696b0eefecfb1fad34bb08543 100644
--- a/chrome/browser/chromeos/file_system_provider/notification_manager.cc
+++ b/chrome/browser/chromeos/file_system_provider/notification_manager.cc
@@ -38,8 +38,6 @@ class ProviderNotificationDelegate
virtual void Display() override {}
- virtual void Error() override { notification_manager_->OnError(); }
-
virtual void Close(bool by_user) override {
notification_manager_->OnClose();
}
@@ -101,10 +99,6 @@ void NotificationManager::OnButtonClick(int button_index) {
OnNotificationResult(ABORT);
}
-void NotificationManager::OnError() {
- OnNotificationResult(CONTINUE);
-}
-
void NotificationManager::OnClose() {
OnNotificationResult(CONTINUE);
}

Powered by Google App Engine
This is Rietveld 408576698