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

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

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: renamed BluetoothUUID.typemap to Bluetooth.typemap Created 3 years, 12 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.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
index 311677d96a9fef7cf2ac76630f024f4a1c811cea..c9374283b4cf3b0de64c4c7daa985b68ac74b147 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
@@ -6,6 +6,7 @@
#define BluetoothError_h
#include "platform/heap/Handle.h"
+#include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h"
#include "wtf/Allocator.h"
namespace blink {
@@ -20,12 +21,8 @@ class BluetoothError {
public:
// Interface required by CallbackPromiseAdapter:
- using WebType =
- int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */;
- static DOMException* take(
- ScriptPromiseResolver*,
- int32_t
- error /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */);
+ static DOMException* take(ScriptPromiseResolver*,
+ mojom::blink::WebBluetoothResult);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698