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

Unified Diff: third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.cpp

Issue 2615093002: Typemap WebBluetoothDeviceId to WTF::String (Closed)
Patch Set: merge master Created 3 years, 11 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/platform/mojo/BluetoothStructTraits.cpp
diff --git a/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.cpp b/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.cpp
index 636be5a409bb717a5301a55a8a0ad40f016bac81..4f660e05a82ed295dc50ff49a51d83c563da11c1 100644
--- a/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.cpp
+++ b/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.cpp
@@ -9,6 +9,13 @@
namespace mojo {
// static
+bool StructTraits<::blink::mojom::WebBluetoothDeviceIdDataView, WTF::String>::
+ Read(::blink::mojom::WebBluetoothDeviceIdDataView data,
+ WTF::String* output) {
+ return data.ReadDeviceId(output);
+}
+
+// static
bool StructTraits<bluetooth::mojom::UUIDDataView, WTF::String>::Read(
bluetooth::mojom::UUIDDataView data,
WTF::String* output) {

Powered by Google App Engine
This is Rietveld 408576698