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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_chromeos.h

Issue 402303002: bluetoothLowEnergy: Send onServiceAdded after all characteristics are discovered (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_remote_gatt_service_chromeos.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h b/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h
index ce481ec993d04d14ca4f4bd10bd9e74f756a6c4e..600233dc51510d2687238b2744dc5c201d9d41a0 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h
+++ b/device/bluetooth/bluetooth_remote_gatt_service_chromeos.h
@@ -146,6 +146,10 @@ class BluetoothRemoteGattServiceChromeOS
CharacteristicMap;
CharacteristicMap characteristics_;
+ // Indicates whether or not the characteristics of this service are known to
+ // have been discovered.
+ bool discovery_complete_;
+
// 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<BluetoothRemoteGattServiceChromeOS> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698