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

Unified Diff: content/browser/browser_child_process_host_impl.h

Issue 1022703007: Simplify ChildProcessLauncher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launcher
Patch Set: fix Android compile Created 5 years, 9 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/browser/browser_child_process_host_impl.h
diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
index 778b276cbeca0e30bc4313a78847db45c29ad688..c563410d98651305f1d6c62c1739e11076652ea8 100644
--- a/content/browser/browser_child_process_host_impl.h
+++ b/content/browser/browser_child_process_host_impl.h
@@ -54,7 +54,8 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
// BrowserChildProcessHost implementation:
bool Send(IPC::Message* message) override;
void Launch(SandboxedProcessLauncherDelegate* delegate,
- base::CommandLine* cmd_line) override;
+ base::CommandLine* cmd_line,
+ bool terminate_on_shutdown) override;
const ChildProcessData& GetData() const override;
ChildProcessHost* GetHost() const override;
base::TerminationStatus GetTerminationStatus(bool known_dead,
@@ -77,10 +78,6 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
// Callers can reduce the BrowserChildProcess' priority.
void SetBackgrounded(bool backgrounded);
- // Controls whether the child process should be terminated on browser
- // shutdown. Default is to always terminate.
- void SetTerminateChildOnShutdown(bool terminate_on_shutdown);
-
// Adds an IPC message filter.
void AddFilter(BrowserMessageFilter* filter);

Powered by Google App Engine
This is Rietveld 408576698