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

Unified Diff: ipc/ipc_mojo_bootstrap.h

Issue 2301123004: Mojo Channel: Fix deferred proxy dispatch; support paused channels (Closed)
Patch Set: . Created 4 years, 3 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_mojo_bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_mojo_bootstrap.h
diff --git a/ipc/ipc_mojo_bootstrap.h b/ipc/ipc_mojo_bootstrap.h
index f18857a77d27b68c2e55fc8b2a7a0d0dc25b4dfe..fb71e8a14a1d4cfa6d7de12acc73d4599e2dd2e6 100644
--- a/ipc/ipc_mojo_bootstrap.h
+++ b/ipc/ipc_mojo_bootstrap.h
@@ -52,6 +52,12 @@ class IPC_EXPORT MojoBootstrap {
// Start the handshake over the underlying message pipe.
virtual void Connect() = 0;
+ // Stop queuing new messages and start transmitting them instead.
+ virtual void Start() = 0;
+
+ // Flush outgoing messages which were queued before Start().
+ virtual void Flush() = 0;
+
virtual mojo::AssociatedGroup* GetAssociatedGroup() = 0;
};
« no previous file with comments | « ipc/ipc_message_pipe_reader.cc ('k') | ipc/ipc_mojo_bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698