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

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

Issue 2488283003: bluetooth: web: Rename Blacklist to Blocklist (Closed)
Patch Set: Remove third_party/WebKit/LayoutTests/imported/wpt/bluetooth/bluetooth-helpers.js Created 4 years, 1 month 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/BluetoothError.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
index 53d494138aee0d9c898e77f2b3f4250063982806..6cb5d90ae4ea9138b89180a79a61f93baccb1ad5 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
@@ -112,21 +112,21 @@ DOMException* BluetoothError::take(
// SecurityErrors:
MAP_ERROR(GATT_NOT_AUTHORIZED, SecurityError,
"GATT operation not authorized.");
- MAP_ERROR(BLACKLISTED_CHARACTERISTIC_UUID, SecurityError,
- "getCharacteristic(s) called with blacklisted UUID. "
+ MAP_ERROR(BLOCKLISTED_CHARACTERISTIC_UUID, SecurityError,
+ "getCharacteristic(s) called with blocklisted UUID. "
"https://goo.gl/4NeimX");
- MAP_ERROR(BLACKLISTED_READ, SecurityError,
- "readValue() called on blacklisted object marked "
+ MAP_ERROR(BLOCKLISTED_READ, SecurityError,
+ "readValue() called on blocklisted object marked "
"exclude-reads. https://goo.gl/4NeimX");
- MAP_ERROR(BLACKLISTED_WRITE, SecurityError,
- "writeValue() called on blacklisted object marked "
+ MAP_ERROR(BLOCKLISTED_WRITE, SecurityError,
+ "writeValue() called on blocklisted object marked "
"exclude-writes. https://goo.gl/4NeimX");
MAP_ERROR(NOT_ALLOWED_TO_ACCESS_SERVICE, SecurityError,
"Origin is not allowed to access the service. Tip: Add the "
"service UUID to 'optionalServices' in requestDevice() "
"options. https://goo.gl/HxfxSQ");
- MAP_ERROR(REQUEST_DEVICE_WITH_BLACKLISTED_UUID, SecurityError,
- "requestDevice() called with a filter containing a blacklisted "
+ MAP_ERROR(REQUEST_DEVICE_WITH_BLOCKLISTED_UUID, SecurityError,
+ "requestDevice() called with a filter containing a blocklisted "
"UUID. https://goo.gl/4NeimX");
MAP_ERROR(REQUEST_DEVICE_FROM_CROSS_ORIGIN_IFRAME, SecurityError,
"requestDevice() called from cross-origin iframe.");

Powered by Google App Engine
This is Rietveld 408576698