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

Unified Diff: ipc/ipc_test.mojom

Issue 2455823002: Support generic synchronization against an IPC::Channel (Closed)
Patch Set: . Created 4 years, 2 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 | « ipc/ipc_message_pipe_reader.cc ('k') | ipc/ipc_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_test.mojom
diff --git a/ipc/ipc_test.mojom b/ipc/ipc_test.mojom
index 8c246d567665bc036a6442b564df3d8c8c24f449..06c0c2c477ac27346a3b65c176ecac6efe778f9c 100644
--- a/ipc/ipc_test.mojom
+++ b/ipc/ipc_test.mojom
@@ -4,6 +4,8 @@
module IPC.mojom;
+import "mojo/common/event.mojom";
+
interface SimpleTestDriver {
ExpectValue(int32 value);
@@ -28,3 +30,19 @@ interface PingReceiver {
interface IndirectTestDriver {
GetPingReceiver(associated PingReceiver& request);
};
+
+interface SynchronizationTestClient {
+ OnTokenReceived(string token) => ();
+};
+
+interface SynchronizationTestSender {
+ SendToken(SynchronizationTestReceiver receiver,
+ SynchronizationTestClient client);
+ Quit();
+};
+
+interface SynchronizationTestReceiver {
+ ReceiveToken(string token,
+ SynchronizationTestClient client,
+ mojo.common.mojom.Event& event);
+};
« no previous file with comments | « ipc/ipc_message_pipe_reader.cc ('k') | ipc/ipc_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698