Index: mojo/common/common_custom_types.mojom |
diff --git a/mojo/common/common_custom_types.mojom b/mojo/common/common_custom_types.mojom |
index 6c0f4eba773e7103215a1394ea31fc71fde0635b..6dcdf76fec5f044a91ee0361cc9e278462eb4943 100644 |
--- a/mojo/common/common_custom_types.mojom |
+++ b/mojo/common/common_custom_types.mojom |
@@ -23,8 +23,13 @@ struct TimeDelta { |
[Native] |
struct TimeTicks; |
-[Native] |
-struct String16; |
+// Corresponds to |base::string16| in base/strings/string16.h |
+// Corresponds to |blink::WebString| in |
+// third_party/WebKit/public/platform/WebString.h, and only accept non-null |
+// |blink::WebString|. |
+struct String16 { |
+ array<uint16> data; |
+}; |
// Corresponds to |base::UnguessableToken| in base/unguessable_token.h |
struct UnguessableToken { |