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

Unified Diff: gpu/ipc/common/traits_test_service.mojom

Issue 2030173002: Simplify StructTraits tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments Created 4 years, 7 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
« no previous file with comments | « gpu/ipc/common/struct_traits_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/traits_test_service.mojom
diff --git a/gpu/ipc/common/traits_test_service.mojom b/gpu/ipc/common/traits_test_service.mojom
index 4097e5659d0c33048057c3acb049a53f907811bc..f19bf949c6a294a903b4f479a2172e69c0fe6cda 100644
--- a/gpu/ipc/common/traits_test_service.mojom
+++ b/gpu/ipc/common/traits_test_service.mojom
@@ -8,8 +8,15 @@ import "gpu/ipc/common/mailbox.mojom";
import "gpu/ipc/common/mailbox_holder.mojom";
import "gpu/ipc/common/sync_token.mojom";
+// All functions on this interface echo their arguments to test StructTraits
+// serialization and deserialization.
interface TraitsTestService {
+ [Sync]
EchoMailbox(Mailbox m) => (Mailbox pass);
+
+ [Sync]
EchoMailboxHolder(MailboxHolder m) => (MailboxHolder pass);
+
+ [Sync]
EchoSyncToken(SyncToken s) => (SyncToken pass);
};
« no previous file with comments | « gpu/ipc/common/struct_traits_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698