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

Unified Diff: ipc/ipc_mojo_bootstrap.h

Issue 2316963005: Reworks Channel pausing behavior (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_channel_proxy.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 fb71e8a14a1d4cfa6d7de12acc73d4599e2dd2e6..5188cd0199610c6776d292dc2cfe6e04c76144b1 100644
--- a/ipc/ipc_mojo_bootstrap.h
+++ b/ipc/ipc_mojo_bootstrap.h
@@ -52,8 +52,11 @@ class IPC_EXPORT MojoBootstrap {
// Start the handshake over the underlying message pipe.
virtual void Connect() = 0;
+ // Stop transmitting messages and start queueing them instead.
+ virtual void Pause() = 0;
+
// Stop queuing new messages and start transmitting them instead.
- virtual void Start() = 0;
+ virtual void Unpause() = 0;
// Flush outgoing messages which were queued before Start().
virtual void Flush() = 0;
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_mojo_bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698