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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.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/BluetoothDevice.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
index 8ea588a45fcb16d70fe42d70e1d46e1722ac5d0d..1b0fb018f266833611f3172f284a5233319679ab 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
@@ -46,13 +46,12 @@ mojom::blink::WebBluetoothDeviceIdPtr BluetoothDevice::createMojoDeviceId(
return result;
}
-BluetoothRemoteGATTService*
-BluetoothDevice::getOrCreateBluetoothRemoteGATTService(
+BluetoothRemoteGATTService* BluetoothDevice::getOrCreateRemoteGATTService(
const String& serviceInstanceId,
const String& uuid,
bool isPrimary,
const String& deviceInstanceId) {
- return m_attributeInstanceMap->getOrCreateBluetoothRemoteGATTService(
+ return m_attributeInstanceMap->getOrCreateRemoteGATTService(
serviceInstanceId, uuid, isPrimary, deviceInstanceId);
}
@@ -61,14 +60,14 @@ bool BluetoothDevice::isValidService(const String& serviceInstanceId) {
}
BluetoothRemoteGATTCharacteristic*
-BluetoothDevice::getOrCreateBluetoothRemoteGATTCharacteristic(
+BluetoothDevice::getOrCreateRemoteGATTCharacteristic(
ExecutionContext* context,
const String& characteristicInstanceId,
const String& serviceInstanceId,
const String& uuid,
uint32_t characteristicProperties,
BluetoothRemoteGATTService* service) {
- return m_attributeInstanceMap->getOrCreateBluetoothRemoteGATTCharacteristic(
+ return m_attributeInstanceMap->getOrCreateRemoteGATTCharacteristic(
context, characteristicInstanceId, serviceInstanceId, uuid,
characteristicProperties, service);
}

Powered by Google App Engine
This is Rietveld 408576698