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

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

Issue 2394423002: bluetooth: Rename blink::mojom::WebBluetoothError (Closed)
Patch Set: 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 1da898fa9807bb9ca0d20d8718f0fc2df183d9f0..a10f0e7c7358d52bf7c9837abd0d8527078a4267 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
@@ -1,3 +1,4 @@
+
ortuno 2016/10/07 05:32:52 nit: I think you added this line by accident :)
dougt 2016/10/07 05:44:38 Acknowledged.
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -13,13 +14,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