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

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

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: check if binding is bound before close it 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/BluetoothUUID.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.h
index 7f5f7185616aaf9f290ee20489d3b022202393ec..4acaf37bcd21cf91eb00ae4cd6c5524fa172e8f1 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.h
@@ -8,6 +8,8 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/modules/v8/StringOrUnsignedLong.h"
#include "platform/heap/Handle.h"
+#include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h"
+#include "wtf/text/WTFString.h"
namespace blink {
@@ -26,6 +28,8 @@ class BluetoothUUID final : public GarbageCollected<BluetoothUUID>,
static String getDescriptor(StringOrUnsignedLong name, ExceptionState&);
static String canonicalUUID(unsigned alias);
+ static bluetooth::mojom::blink::UUIDPtr createMojoUuid(const String& uuid);
+
// Interface required by garbage collection.
DEFINE_INLINE_TRACE() {}
};

Powered by Google App Engine
This is Rietveld 408576698