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

Unified Diff: content/child/child_thread_impl.cc

Issue 2453713002: Expose Resume() in RenderProcessHost. (Closed)
Patch Set: Use DCHECK. 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
Index: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index dca6c148fd0099de922908aa3806598dc86c3e92..30044475d285f8de818018af6970195383f9f99a 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -738,6 +738,7 @@ bool ChildThreadImpl::OnMessageReceived(const IPC::Message& msg) {
OnProcessBackgrounded)
IPC_MESSAGE_HANDLER(ChildProcessMsg_PurgeAndSuspend,
OnProcessPurgeAndSuspend)
+ IPC_MESSAGE_HANDLER(ChildProcessMsg_Resume, OnProcessResume)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -770,6 +771,8 @@ void ChildThreadImpl::OnProcessBackgrounded(bool backgrounded) {
void ChildThreadImpl::OnProcessPurgeAndSuspend() {
}
+void ChildThreadImpl::OnProcessResume() {}
+
void ChildThreadImpl::OnShutdown() {
base::MessageLoop::current()->QuitWhenIdle();
}

Powered by Google App Engine
This is Rietveld 408576698