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

Unified Diff: device/bluetooth/bluetooth_adapter_chromeos.h

Issue 1057603004: bluetooth: Refactor (Add|Remove)Observer impls into BluetoothAdapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bta-style-guide-ordering-
Patch Set: Merge TOT Created 5 years, 8 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
« no previous file with comments | « device/bluetooth/bluetooth_adapter.cc ('k') | device/bluetooth/bluetooth_adapter_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter_chromeos.h
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h
index 055bafb940e06daec87248d8dc92e2d21c39598c..4254b8afcaa8658eb546e3c7501ede42692abc09 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos.h
+++ b/device/bluetooth/bluetooth_adapter_chromeos.h
@@ -66,8 +66,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS
// BluetoothAdapter:
void Shutdown() override;
void DeleteOnCorrectThread() const override;
- void AddObserver(device::BluetoothAdapter::Observer* observer) override;
- void RemoveObserver(device::BluetoothAdapter::Observer* observer) override;
std::string GetAddress() const override;
std::string GetName() const override;
void SetName(const std::string& name,
@@ -353,9 +351,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS
// Object path of the adapter we track.
dbus::ObjectPath object_path_;
- // List of observers interested in event notifications from us.
- ObserverList<device::BluetoothAdapter::Observer> observers_;
-
// Instance of the D-Bus agent object used for pairing, initialized with
// our own class as its delegate.
scoped_ptr<BluetoothAgentServiceProvider> agent_;
« no previous file with comments | « device/bluetooth/bluetooth_adapter.cc ('k') | device/bluetooth/bluetooth_adapter_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698