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

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

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: fixed layout tests 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/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

Powered by Google App Engine
This is Rietveld 408576698