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

Unified Diff: device/bluetooth/bluetooth_adapter_win.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_unittest.cc ('k') | device/bluetooth/bluetooth_adapter_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter_win.h
diff --git a/device/bluetooth/bluetooth_adapter_win.h b/device/bluetooth/bluetooth_adapter_win.h
index 2b086a2f9fb78e105562f04804fd0041d859f3b7..bf22f3db061e3a206792a2a3a9de20204a91f867 100644
--- a/device/bluetooth/bluetooth_adapter_win.h
+++ b/device/bluetooth/bluetooth_adapter_win.h
@@ -41,8 +41,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterWin
const InitCallback& init_callback);
// BluetoothAdapter:
- virtual void AddObserver(BluetoothAdapter::Observer* observer) override;
- virtual void RemoveObserver(BluetoothAdapter::Observer* observer) override;
virtual std::string GetAddress() const override;
virtual std::string GetName() const override;
virtual void SetName(const std::string& name,
@@ -152,9 +150,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterWin
base::ThreadChecker thread_checker_;
- // List of observers interested in event notifications from us.
- ObserverList<BluetoothAdapter::Observer> observers_;
-
// NOTE: This should remain the last member so it'll be destroyed and
// invalidate its weak pointers before any other members are destroyed.
base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_;
« no previous file with comments | « device/bluetooth/bluetooth_adapter_unittest.cc ('k') | device/bluetooth/bluetooth_adapter_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698