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

Unified Diff: ash/system/chromeos/bluetooth/bluetooth_notification_controller.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: ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc
diff --git a/ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc b/ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc
index e64bc77c707ba87f5c19709a9ea59266cff94791..d5cd04b4fb12fbb6584efbf68a64528b8250af88 100644
--- a/ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc
+++ b/ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc
@@ -59,7 +59,6 @@ class BluetoothPairingNotificationDelegate
// message_center::NotificationDelegate overrides.
virtual void Display() override;
- virtual void Error() override;
virtual void Close(bool by_user) override;
virtual bool HasClickedListener() override;
virtual void Click() override;
@@ -96,9 +95,6 @@ BluetoothPairingNotificationDelegate::~BluetoothPairingNotificationDelegate() {
void BluetoothPairingNotificationDelegate::Display() {
}
-void BluetoothPairingNotificationDelegate::Error() {
-}
-
void BluetoothPairingNotificationDelegate::Close(bool by_user) {
VLOG(1) << "Pairing notification closed. by_user = " << by_user;
// Ignore notification closes generated as a result of pairing completion.

Powered by Google App Engine
This is Rietveld 408576698