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

Unified Diff: content/common/child_process_host_impl.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/browser/browser_child_process_host_impl.cc ('k') | content/common/child_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_host_impl.h
diff --git a/content/common/child_process_host_impl.h b/content/common/child_process_host_impl.h
index 686a7737319084a00491a8e3161508443ad6a6ff..55e768a2a9f13212f52c218f665d8e933dc09d6f 100644
--- a/content/common/child_process_host_impl.h
+++ b/content/common/child_process_host_impl.h
@@ -78,6 +78,7 @@ class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost,
// ChildProcessHost implementation
bool Send(IPC::Message* message) override;
void ForceShutdown() override;
+ bool IsShuttingDown() override;
std::string CreateChannel() override;
std::string CreateChannelMojo(const std::string& child_token) override;
bool IsChannelOpening() override;
@@ -119,6 +120,7 @@ class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost,
bool opening_channel_; // True while we're waiting the channel to be opened.
std::unique_ptr<IPC::Channel> channel_;
std::string channel_id_;
+ bool is_shutting_down_;
// Holds all the IPC message filters. Since this object lives on the IO
// thread, we don't have a IPC::ChannelProxy and so we manage filters
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/common/child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698