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

Unified Diff: content/renderer/bluetooth/bluetooth_type_converters.h

Issue 2506813003: Use new wrapper types for web_bluetooth.mojom (Closed)
Patch Set: merge master and resolve conflicts Created 4 years, 1 month 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: 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 2b6e5263d4f8ef90cb4f2a5e33d24720532da1fd..b747aeeeadfe0d886d5680d3ecb754f505ec66fd 100644
--- a/content/renderer/bluetooth/bluetooth_type_converters.h
+++ b/content/renderer/bluetooth/bluetooth_type_converters.h
@@ -33,9 +33,8 @@ struct TypeConverter<blink::mojom::WebBluetoothRequestDeviceOptionsPtr,
};
template <>
-struct TypeConverter<base::Optional<device::BluetoothUUID>, blink::WebString> {
- static base::Optional<device::BluetoothUUID> Convert(
- const blink::WebString& web_string);
+struct TypeConverter<device::BluetoothUUID, blink::WebString> {
+ static device::BluetoothUUID Convert(const blink::WebString& web_string);
};
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698