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

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: address comments 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.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.h
index 311677d96a9fef7cf2ac76630f024f4a1c811cea..9ff242a9c1036f2b89082450e8a0c4eb4e97ca13 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,11 +21,9 @@ class BluetoothError {
public:
// Interface required by CallbackPromiseAdapter:
- using WebType =
- int32_t /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */;
static DOMException* take(
ScriptPromiseResolver*,
- int32_t
+ mojom::blink::WebBluetoothResult
error /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */);
Reilly Grant (use Gerrit) 2016/12/20 02:08:17 This comment is unnecessary now.
juncai 2016/12/20 22:33:43 Done.
};

Powered by Google App Engine
This is Rietveld 408576698