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

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

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Remove debug log Created 4 years, 7 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 5c90934be5508432535b26883994f5be17dc4c58..07a1ac7bd1fd0f4a692a765a460307fe5b709b2c 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
@@ -9,14 +9,14 @@
namespace blink {
-DOMException* BluetoothError::take(ScriptPromiseResolver*, const WebBluetoothError& webError)
+DOMException* BluetoothError::take(ScriptPromiseResolver*, const mojom::WebBluetoothError& webError)
{
switch (webError) {
- case WebBluetoothError::SUCCESS:
+ case mojom::WebBluetoothError::SUCCESS:
ASSERT_NOT_REACHED();
return DOMException::create(UnknownError);
#define MAP_ERROR(enumeration, name, message) \
- case WebBluetoothError::enumeration: \
+ case mojom::WebBluetoothError::enumeration: \
return DOMException::create(name, message)
// InvalidModificationErrors:

Powered by Google App Engine
This is Rietveld 408576698