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

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 db0a03badaa86b3499a18a9f3a8e3a7428cbf0e0..e241c933b3767467a5e9faab000a2cbb7513cb2e 100644
--- a/chrome/browser/chromeos/file_system_provider/notification_manager.cc
+++ b/chrome/browser/chromeos/file_system_provider/notification_manager.cc
@@ -36,8 +36,6 @@ class ProviderNotificationDelegate
notification_manager_->OnButtonClick(button_index);
}
- virtual void Error() override { notification_manager_->OnError(); }
-
virtual void Close(bool by_user) override {
notification_manager_->OnClose();
}
@@ -97,10 +95,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