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

Unified Diff: chrome/browser/metrics/metrics_service.cc

Issue 66069: Don't overload the meaning of the RENDERER_PROCESS_TERMINATED notification, i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « chrome/browser/cert_store.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_service.cc
===================================================================
--- chrome/browser/metrics/metrics_service.cc (revision 13189)
+++ chrome/browser/metrics/metrics_service.cc (working copy)
@@ -506,9 +506,8 @@
LogLoadStarted();
break;
- case NotificationType::RENDERER_PROCESS_TERMINATED:
- if (!*Details<bool>(details).ptr())
- LogRendererCrash();
+ case NotificationType::RENDERER_PROCESS_CRASHED:
+ LogRendererCrash();
break;
case NotificationType::RENDERER_PROCESS_HANG:
@@ -789,7 +788,7 @@
AddOrRemoveObserver(this, NotificationType::LOAD_STOP, start_listening);
AddOrRemoveObserver(this, NotificationType::RENDERER_PROCESS_IN_SBOX,
start_listening);
- AddOrRemoveObserver(this, NotificationType::RENDERER_PROCESS_TERMINATED,
+ AddOrRemoveObserver(this, NotificationType::RENDERER_PROCESS_CRASHED,
start_listening);
AddOrRemoveObserver(this, NotificationType::RENDERER_PROCESS_HANG,
start_listening);
« no previous file with comments | « chrome/browser/cert_store.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698