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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 1711393002: bluetooth: android: register for adapter on/off events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index e099e32d12bdc4e98aaecb46f6412bc73fa26739..a5bb6f55c7354d34f752991cab80ae934910cdb9 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -398,6 +398,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
const CreateAdvertisementCallback& callback,
const CreateAdvertisementErrorCallback& error_callback) = 0;
+ // Send adapter state changed event to observers.
+ void NotifyAdapterStateChanged(bool powered);
scheib 2016/02/26 00:05:59 Merge with block of all Notify* methods below, and
perja 2016/02/26 10:51:04 Done.
+
// The following methods are used to send various GATT observer events to
// observers.
void NotifyGattServiceAdded(BluetoothGattService* service);

Powered by Google App Engine
This is Rietveld 408576698