| Index: third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.h
|
| diff --git a/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.h b/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.h
|
| index 905fcd5928c5d0efd8b3bfe5fbb57069e4e99674..0234b3d409d8dc91ff62c8946f5bca80fc6cae5f 100644
|
| --- a/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.h
|
| +++ b/third_party/WebKit/Source/platform/mojo/BluetoothStructTraits.h
|
| @@ -6,11 +6,22 @@
|
| #define BluetoothStructTraits_h
|
|
|
| #include "device/bluetooth/public/interfaces/uuid.mojom-blink.h"
|
| +#include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace mojo {
|
|
|
| template <>
|
| +struct StructTraits<::blink::mojom::WebBluetoothDeviceIdDataView, WTF::String> {
|
| + static const WTF::String& device_id(const WTF::String& input) {
|
| + return input;
|
| + }
|
| +
|
| + static bool Read(::blink::mojom::WebBluetoothDeviceIdDataView,
|
| + WTF::String* output);
|
| +};
|
| +
|
| +template <>
|
| struct StructTraits<bluetooth::mojom::UUIDDataView, WTF::String> {
|
| static const WTF::String& uuid(const WTF::String& input) { return input; }
|
|
|
|
|