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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp

Issue 2614523002: Shorten some method names in //third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h (Closed)
Patch Set: shorten some method names in //third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h Created 3 years, 12 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
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
index 729c1a6b873ff33a15cac37f1301b6d643adb128..d73dd6b4e3e65b7af6d0d35224b4ad6f204e73ab 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
@@ -73,7 +73,7 @@ void BluetoothRemoteGATTService::GetCharacteristicsCallback(
if (quantity == mojom::blink::WebBluetoothGATTQueryQuantity::SINGLE) {
DCHECK_EQ(1u, characteristics->size());
- resolver->resolve(device()->getOrCreateBluetoothRemoteGATTCharacteristic(
+ resolver->resolve(device()->getOrCreateRemoteGATTCharacteristic(
resolver->getExecutionContext(),
characteristics.value()[0]->instance_id, serviceInstanceId,
characteristics.value()[0]->uuid,
@@ -84,11 +84,10 @@ void BluetoothRemoteGATTService::GetCharacteristicsCallback(
HeapVector<Member<BluetoothRemoteGATTCharacteristic>> gattCharacteristics;
gattCharacteristics.reserveInitialCapacity(characteristics->size());
for (const auto& characteristic : characteristics.value()) {
- gattCharacteristics.append(
- device()->getOrCreateBluetoothRemoteGATTCharacteristic(
- resolver->getExecutionContext(), characteristic->instance_id,
- serviceInstanceId, characteristic->uuid,
- characteristic->properties, this));
+ gattCharacteristics.append(device()->getOrCreateRemoteGATTCharacteristic(
+ resolver->getExecutionContext(), characteristic->instance_id,
+ serviceInstanceId, characteristic->uuid, characteristic->properties,
+ this));
}
resolver->resolve(gattCharacteristics);
} else {
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698