Chromium Code Reviews| Index: device/bluetooth/bluetooth_remote_gatt_service_android.h |
| diff --git a/device/bluetooth/bluetooth_remote_gatt_service_android.h b/device/bluetooth/bluetooth_remote_gatt_service_android.h |
| index 6bcf9103b42520d07867c6bf7b600a2bae0810ac..aef16a2e8385701b10d16837a9df7c557752e414 100644 |
| --- a/device/bluetooth/bluetooth_remote_gatt_service_android.h |
| +++ b/device/bluetooth/bluetooth_remote_gatt_service_android.h |
| @@ -37,7 +37,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattServiceAndroid |
| BluetoothAdapterAndroid* adapter, |
| BluetoothDeviceAndroid* device, |
| jobject /* BluetoothGattServiceWrapper */ bluetooth_gatt_service_wrapper, |
| - const std::string& instanceId, |
| + const std::string& instance_id, |
| jobject /* ChromeBluetoothDevice */ chrome_bluetooth_device); |
| ~BluetoothRemoteGattServiceAndroid() override; |
| @@ -79,11 +79,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattServiceAndroid |
| const ErrorCallback& error_callback) override; |
| // Creates a Bluetooth GATT characteristic object and adds it to |
| - // |characteristics_| if it is not already there. |
| + // |characteristics_| DCHECKing that it has not already been created. |
|
Jeffrey Yasskin
2016/01/12 17:00:30
Add a comma before DCHECKing.
scheib
2016/01/12 17:54:36
Done.
|
| void CreateGattRemoteCharacteristic( |
| JNIEnv* env, |
| const base::android::JavaParamRef<jobject>& caller, |
| - const base::android::JavaParamRef<jstring>& instanceId, |
| + const base::android::JavaParamRef<jstring>& instance_id, |
| const base::android::JavaParamRef< |
| jobject>& /* BluetoothGattCharacteristicWrapper */ |
| bluetooth_gatt_characteristic_wrapper, |
| @@ -93,7 +93,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattServiceAndroid |
| private: |
| BluetoothRemoteGattServiceAndroid(BluetoothAdapterAndroid* adapter, |
| BluetoothDeviceAndroid* device, |
| - const std::string& instanceId); |
| + const std::string& instance_id); |
| // Populates |characteristics_| from Java objects if necessary. |
| void EnsureCharacteristicsCreated() const; |
| @@ -110,7 +110,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattServiceAndroid |
| BluetoothDeviceAndroid* device_; |
| // Adapter unique instance ID. |
| - std::string instanceId_; |
| + std::string instance_id_; |
| // Map of characteristics, keyed by characteristic identifier. |
| base::ScopedPtrHashMap<std::string, |