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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1320153002: Add new termination status for failed launch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and a nit. Created 5 years, 3 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/gpu/gpu_process_host.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 7b240f3311638dbe505054ed14cf29bab4aead57..d18c7b53fe282f28df4b90fdb9756d583172dad0 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -2391,7 +2391,8 @@ void RenderProcessHostImpl::OnProcessLaunchFailed() {
if (deleting_soon_)
return;
- RendererClosedDetails details { base::TERMINATION_STATUS_PROCESS_WAS_KILLED,
+ // TODO(wfh): Fill in the real error code here see crbug.com/526198.
+ RendererClosedDetails details { base::TERMINATION_STATUS_LAUNCH_FAILED,
-1 };
ProcessDied(true, &details);
}
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698