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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc

Issue 1572873002: bluetooth: android: Code cleanup fixing comments, typos, simplified names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comma Created 4 years, 11 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.cc
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
index 4c344127fa0f34c09d754497d2417cb98bfbaf2a..152764465978a3d05075cbbf02857a63c463c299 100644
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc
@@ -21,12 +21,12 @@ namespace device {
// static
scoped_ptr<BluetoothRemoteGattCharacteristicAndroid>
BluetoothRemoteGattCharacteristicAndroid::Create(
- const std::string& instanceId,
+ const std::string& instance_id,
jobject /* BluetoothGattCharacteristicWrapper */
bluetooth_gatt_characteristic_wrapper,
jobject /* ChromeBluetoothDevice */ chrome_bluetooth_device) {
scoped_ptr<BluetoothRemoteGattCharacteristicAndroid> characteristic(
- new BluetoothRemoteGattCharacteristicAndroid(instanceId));
+ new BluetoothRemoteGattCharacteristicAndroid(instance_id));
characteristic->j_characteristic_.Reset(
Java_ChromeBluetoothRemoteGattCharacteristic_create(
@@ -236,7 +236,7 @@ void BluetoothRemoteGattCharacteristicAndroid::OnWrite(
}
BluetoothRemoteGattCharacteristicAndroid::
- BluetoothRemoteGattCharacteristicAndroid(const std::string& instanceId)
- : instance_id_(instanceId) {}
+ BluetoothRemoteGattCharacteristicAndroid(const std::string& instance_id)
+ : instance_id_(instance_id) {}
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698