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

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

Issue 2394423002: bluetooth: Rename blink::mojom::WebBluetoothError (Closed)
Patch Set: bluetooth: Rename blink::mojom::WebBluetoothError Created 4 years, 2 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/BluetoothError.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
index 3562fda2ee8c5b70344738bf7923d735db75242e..53d494138aee0d9c898e77f2b3f4250063982806 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
@@ -13,13 +13,13 @@ namespace blink {
DOMException* BluetoothError::take(
ScriptPromiseResolver*,
int32_t
- webError /* Corresponds to WebBluetoothError in web_bluetooth.mojom */) {
- switch (static_cast<mojom::blink::WebBluetoothError>(webError)) {
- case mojom::blink::WebBluetoothError::SUCCESS:
+ webError /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */) {
+ switch (static_cast<mojom::blink::WebBluetoothResult>(webError)) {
+ case mojom::blink::WebBluetoothResult::SUCCESS:
ASSERT_NOT_REACHED();
return DOMException::create(UnknownError);
-#define MAP_ERROR(enumeration, name, message) \
- case mojom::blink::WebBluetoothError::enumeration: \
+#define MAP_ERROR(enumeration, name, message) \
+ case mojom::blink::WebBluetoothResult::enumeration: \
return DOMException::create(name, message)
// InvalidModificationErrors:

Powered by Google App Engine
This is Rietveld 408576698