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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.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
Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
index 0b5bf81648383036e586b10dc4a6cee9baf761cc..5ac6a059bc0851ae095e44ae9d5484c48381c7e8 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
@@ -123,7 +123,7 @@ void BluetoothRemoteGATTServer::GetPrimaryServicesCallback(
if (quantity == mojom::blink::WebBluetoothGATTQueryQuantity::SINGLE) {
DCHECK_EQ(1u, services->size());
- resolver->resolve(m_device->getOrCreateBluetoothRemoteGATTService(
+ resolver->resolve(m_device->getOrCreateRemoteGATTService(
services.value()[0]->instance_id, services.value()[0]->uuid,
true /* isPrimary */, device()->id()));
return;
@@ -133,7 +133,7 @@ void BluetoothRemoteGATTServer::GetPrimaryServicesCallback(
gattServices.reserveInitialCapacity(services->size());
for (const auto& service : services.value()) {
- gattServices.append(m_device->getOrCreateBluetoothRemoteGATTService(
+ gattServices.append(m_device->getOrCreateRemoteGATTService(
service->instance_id, service->uuid, true /* isPrimary */,
device()->id()));
}

Powered by Google App Engine
This is Rietveld 408576698