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

Unified Diff: device/bluetooth/bluetooth_adapter_android.h

Issue 1394973003: bluetooth: android: Create BluetoothRemoteGattServiceAndroid objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-renames-
Patch Set: Created 5 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: 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);

Powered by Google App Engine
This is Rietveld 408576698