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

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

Issue 2789243002: Rename BluetoothScanFilterInit to BluetoothLEScanFilterInit (Closed)
Patch Set: Codereview: nit Created 3 years, 8 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/Bluetooth.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
index a0abd0ef0c9d403128fe9bbedf90475c07978c6c..99834dd0827a49f544b4d256f07ba09a824b53e7 100644
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
@@ -35,8 +35,8 @@ const char kDeviceNameTooLong[] =
} // namespace
static void CanonicalizeFilter(
- const BluetoothScanFilterInit& filter,
- mojom::blink::WebBluetoothScanFilterPtr& canonicalizedFilter,
+ const BluetoothLEScanFilterInit& filter,
+ mojom::blink::WebBluetoothLeScanFilterPtr& canonicalizedFilter,
ExceptionState& exceptionState) {
if (!(filter.hasServices() || filter.hasName() || filter.hasNamePrefix())) {
exceptionState.throwTypeError(
@@ -106,8 +106,8 @@ static void ConvertRequestDeviceOptions(
result->filters.emplace();
- for (const BluetoothScanFilterInit& filter : options.filters()) {
- auto canonicalizedFilter = mojom::blink::WebBluetoothScanFilter::New();
+ for (const BluetoothLEScanFilterInit& filter : options.filters()) {
+ auto canonicalizedFilter = mojom::blink::WebBluetoothLeScanFilter::New();
CanonicalizeFilter(filter, canonicalizedFilter, exceptionState);

Powered by Google App Engine
This is Rietveld 408576698