Index: third_party/WebKit/Source/modules/bluetooth/BluetoothUtils.h |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothUtils.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothUtils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ee98382b2a2f177a98261587f1622c28f1cfe701 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothUtils.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 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. |
+ |
+#ifndef BluetoothUtils_h |
+#define BluetoothUtils_h |
+ |
+#include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" |
+#include "wtf/text/WTFString.h" |
+ |
+namespace blink { |
+ |
+bluetooth::mojom::blink::UUIDPtr createUUIDPtr(const String& uuid); |
Reilly Grant (use Gerrit)
2016/12/16 01:41:29
Move this to BluetoothUUID::createMojoUuid().
juncai
2016/12/17 01:18:52
Done.
|
+ |
+mojom::blink::WebBluetoothDeviceIdPtr createWebBluetoothDeviceIdPtr( |
Reilly Grant (use Gerrit)
2016/12/16 01:41:29
Move this to BluetoothDevice::createMojoDeviceId()
juncai
2016/12/17 01:18:53
Done.
|
+ const String& deviceId); |
+ |
+} // namespace blink |
+ |
+#endif // BluetoothUtils_h |