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

Unified Diff: content/common/child_process_messages.h

Issue 305533006: Control process backgrounding from within the child process on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Disable test. Created 6 years, 7 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 | « content/child/child_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index ecbd2014ca88916e09c98e21c35a7aebfb139505..67191fcc9e2068e00cfb23f3d788b4a6546d340c 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -111,6 +111,12 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData,
// Sent to child processes to dump their handle table.
IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles)
+#if defined(OS_WIN)
+// Sent to child processes to tell them to enter or leave background mode.
+IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
+ bool /* background */)
+#endif
+
#if defined(USE_TCMALLOC)
// Sent to child process to request tcmalloc stats.
IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats)
« no previous file with comments | « content/child/child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698