Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index d3f45dfc80278bc47ad19b6d3fcb3444f4e41f4d..7e2346f52be69671bd364d4a87ae7919d300954e 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -637,6 +637,8 @@ bool ChildThreadImpl::OnMessageReceived(const IPC::Message& msg) { |
OnProfilingPhaseCompleted) |
IPC_MESSAGE_HANDLER(ChildProcessMsg_SetProcessBackgrounded, |
OnProcessBackgrounded) |
+ IPC_MESSAGE_HANDLER(ChildProcessMsg_Suspend, |
+ OnProcessSuspend) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
@@ -661,6 +663,9 @@ void ChildThreadImpl::OnProcessBackgrounded(bool backgrounded) { |
base::MessageLoop::current()->SetTimerSlack(timer_slack); |
} |
+void ChildThreadImpl::OnProcessSuspend() { |
+} |
+ |
void ChildThreadImpl::OnShutdown() { |
base::MessageLoop::current()->QuitWhenIdle(); |
} |