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

Unified Diff: content/public/common/child_process_host.h

Issue 2058653002: Ignore kill termination status when shutting down a child process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/common/child_process_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/child_process_host.h
diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h
index 7fbac4c8f6f9b259f7a14eb1043c4c0a1cb1e49d..1d2f56890d4acf6b01ca5f773ed1e9c104d55f10 100644
--- a/content/public/common/child_process_host.h
+++ b/content/public/common/child_process_host.h
@@ -77,6 +77,9 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
// Does not check with the delegate's CanShutdown.
virtual void ForceShutdown() = 0;
+ // Returns true if a shutdown message has been sent to the child process.
+ virtual bool IsShuttingDown() = 0;
+
// Creates the IPC channel. Returns the channel id if it succeeded, an
// empty string otherwise
virtual std::string CreateChannel() = 0;
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698