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

Unified Diff: mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_unexpected_invalid_associated_interface_in_array.data

Issue 2660733002: Mojo C++ bindings: introduce an optional array to store transferred interface IDs in messages. (Closed)
Patch Set: . 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: mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_unexpected_invalid_associated_interface_in_array.data
diff --git a/mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_unexpected_invalid_associated_interface_in_array.data b/mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_unexpected_invalid_associated_interface_in_array.data
index 788cefa8111d3d65fa777cab43fb9df73e4a5600..2e163be1606b3c9429f4b7c533fa40eff6b40de0 100644
--- a/mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_unexpected_invalid_associated_interface_in_array.data
+++ b/mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_unexpected_invalid_associated_interface_in_array.data
@@ -1,11 +1,15 @@
[dist4]message_header // num_bytes
-[u4]0 // version
+[u4]2 // version
[u4]0 // interface ID
[u4]3 // name
[u4]0 // flags
[u4]0 // padding
+[u8]0 // request_id
+[dist8]payload
+[dist8]payload_interface_ids
[anchr]message_header
+[anchr]payload
[dist4]method3_params // num_bytes
[u4]0 // version
[dist8]param0_ptr // param0
@@ -14,8 +18,19 @@
[anchr]param0_ptr
[dist4]associated_interface_array // num_bytes
[u4]2 // num_elements
-[u4]0xFFFFFFFF // unexpected invalid interface ID
+[u4]2 // interface ID index
[u4]14 // version
-[u4]5 // interface ID
+[u4]0xFFFFFFFF // interface ID index: Unexpected invalid
+ // value.
[u4]18 // version
[anchr]associated_interface_array
+
+[anchr]payload_interface_ids
+[dist4]interface_id_array // num_bytes
+[u4]4 // num_elements : It is okay to have IDs that are not
+ // referred to.
+[u4]4
+[u4]5
+[u4]8
+[u4]19
+[anchr]interface_id_array

Powered by Google App Engine
This is Rietveld 408576698