| Index: content/renderer/bluetooth/bluetooth_type_converters.h
|
| diff --git a/content/renderer/bluetooth/bluetooth_type_converters.h b/content/renderer/bluetooth/bluetooth_type_converters.h
|
| index 960c1f5cd7d5d960d6988f11a982b4f58c183656..194798082892ff1251825cdea419785007f45564 100644
|
| --- a/content/renderer/bluetooth/bluetooth_type_converters.h
|
| +++ b/content/renderer/bluetooth/bluetooth_type_converters.h
|
| @@ -5,7 +5,9 @@
|
| #ifndef CONTENT_RENDERER_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
|
| #define CONTENT_RENDERER_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
|
|
|
| +#include "device/bluetooth/bluetooth_uuid.h"
|
| #include "mojo/public/cpp/bindings/type_converter.h"
|
| +#include "third_party/WebKit/public/platform/WebString.h"
|
| #include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom.h"
|
|
|
| namespace blink {
|
| @@ -29,6 +31,12 @@ struct TypeConverter<blink::mojom::WebBluetoothRequestDeviceOptionsPtr,
|
| const blink::WebRequestDeviceOptions& web_options);
|
| };
|
|
|
| +template <>
|
| +struct TypeConverter<std::unique_ptr<device::BluetoothUUID>, blink::WebString> {
|
| + static std::unique_ptr<device::BluetoothUUID> Convert(
|
| + const blink::WebString& web_string);
|
| +};
|
| +
|
| } // namespace mojo
|
|
|
| #endif // CONTENT_RENDERER_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
|
|
|