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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_characteristic_android.h

Issue 1412963004: bluetooth: android: Implement Characteristic GetIdentifier, fix Service IDs too. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_remote_gatt_characteristic_android.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h
index 58e139d8170a50ab989931a1575bbd13047da761..7414977c543d5e400597e2e06c2b579a988f1603 100644
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.h
@@ -24,7 +24,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicAndroid
// to |bluetooth_remote_gatt_service_wrapper|.
//
// TODO(scheib): Actually create the Java object. crbug.com/545682
- static scoped_ptr<BluetoothRemoteGattCharacteristicAndroid> Create();
+ static scoped_ptr<BluetoothRemoteGattCharacteristicAndroid> Create(
+ const std::string& instanceId);
~BluetoothRemoteGattCharacteristicAndroid() override;
@@ -51,7 +52,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicAndroid
const ErrorCallback& error_callback) override;
private:
- BluetoothRemoteGattCharacteristicAndroid();
+ BluetoothRemoteGattCharacteristicAndroid(const std::string& instanceId);
+
+ // Adapter unique instance ID.
+ std::string instanceId_;
std::vector<uint8> value_;
« no previous file with comments | « device/bluetooth/bluetooth_gatt_service_unittest.cc ('k') | device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698