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

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

Issue 2554253002: bluetooth: web: Rename Blacklist to Blocklist (Closed)
Patch Set: Created 4 years 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 3d704ce4607380636cb327a044f69c3490ac3dd8..cd703d4b3bb4f7a8e28b01d75e02d24a879ef29d 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
@@ -112,14 +112,14 @@ 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_ANY_SERVICE, SecurityError,
"Origin is not allowed to access any service. Tip: Add the "
@@ -129,8 +129,8 @@ DOMException* BluetoothError::take(
"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