| Index: cc/ipc/traits_test_service.mojom
|
| diff --git a/cc/ipc/traits_test_service.mojom b/cc/ipc/traits_test_service.mojom
|
| index 71958b1c4dd1925a98065b2fd004f630199f29c0..d637a1fffb5df84681dbdd8d39e33a14a281939c 100644
|
| --- a/cc/ipc/traits_test_service.mojom
|
| +++ b/cc/ipc/traits_test_service.mojom
|
| @@ -10,11 +10,22 @@ import "cc/ipc/returned_resource.mojom";
|
| import "cc/ipc/surface_id.mojom";
|
| import "cc/ipc/transferable_resource.mojom";
|
|
|
| +// All functions on this interface echo their arguments to test StructTraits
|
| +// serialization and deserialization.
|
| interface TraitsTestService {
|
| + [Sync]
|
| EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass);
|
| +
|
| + [Sync]
|
| EchoRenderPassId(RenderPassId r) => (RenderPassId pass);
|
| - EchoReturnedResource(ReturnedResource r) => (ReturnedResource r);
|
| +
|
| + [Sync]
|
| + EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass);
|
| +
|
| + [Sync]
|
| EchoSurfaceId(SurfaceId s) => (SurfaceId pass);
|
| +
|
| + [Sync]
|
| EchoTransferableResource(TransferableResource t) =>
|
| (TransferableResource pass);
|
| };
|
|
|