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

Unified Diff: ipc/ipc_sync_channel.cc

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_sync_channel.h ('k') | ipc/ipc_test.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel.cc
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
index a627d420e300f9c2133c7aa3cbd25eec63aa5c6a..682001e8c15ac1ab90eff8e94ee00978f75c38d5 100644
--- a/ipc/ipc_sync_channel.cc
+++ b/ipc/ipc_sync_channel.cc
@@ -450,12 +450,12 @@ void SyncChannel::SyncContext::OnChannelError() {
Context::OnChannelError();
}
-void SyncChannel::SyncContext::OnChannelOpened() {
+void SyncChannel::SyncContext::OnChannelOpened(bool pause) {
shutdown_watcher_.StartWatching(
shutdown_event_,
base::Bind(&SyncChannel::SyncContext::OnShutdownEventSignaled,
base::Unretained(this)));
- Context::OnChannelOpened();
+ Context::OnChannelOpened(pause);
}
void SyncChannel::SyncContext::OnChannelClosed() {
« no previous file with comments | « ipc/ipc_sync_channel.h ('k') | ipc/ipc_test.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698