Index: device/bluetooth/bluetooth_adapter_android.h |
diff --git a/device/bluetooth/bluetooth_adapter_android.h b/device/bluetooth/bluetooth_adapter_android.h |
index c9db73f99f64dea48c52005c88122f13815a84c3..5dedcdead7970c5bb37fd7171416097f0be2a487 100644 |
--- a/device/bluetooth/bluetooth_adapter_android.h |
+++ b/device/bluetooth/bluetooth_adapter_android.h |
@@ -82,6 +82,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterAndroid final |
const CreateAdvertisementCallback& callback, |
const CreateAdvertisementErrorCallback& error_callback) override; |
+ // Returns BluetoothAdapter Observers for platform specific classes to use |
+ // to send event notifications. |
+ base::ObserverList<device::BluetoothAdapter::Observer>& GetObservers() { |
ortuno
2015/10/08 22:53:27
Why is this not bluetooth_adapter.h/cc?
scheib
2015/10/08 23:52:19
Explained in comment.
|
+ return observers_; |
+ } |
+ |
// Handles a scan error event by invalidating all discovery sessions. |
void OnScanFailed(JNIEnv* env, jobject caller); |