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

Unified Diff: chrome/browser/performance_monitor/performance_monitor.h

Issue 10987040: Fix CPM casting issue; refactor renderer crash events (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit fixes, latest master Created 8 years, 2 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: chrome/browser/performance_monitor/performance_monitor.h
diff --git a/chrome/browser/performance_monitor/performance_monitor.h b/chrome/browser/performance_monitor/performance_monitor.h
index 0dd1ddab32d845f7c02079bd6f427c52e49a7d1d..ac95b8d64225a0cd9821acb8853e2fbb955b1e3b 100644
--- a/chrome/browser/performance_monitor/performance_monitor.h
+++ b/chrome/browser/performance_monitor/performance_monitor.h
@@ -165,9 +165,10 @@ class PerformanceMonitor : public content::NotificationObserver {
void AddExtensionEvent(EventType type,
const extensions::Extension* extension);
- // Generate an appropriate CrashEvent for a renderer crash and insert it in
- // the database.
- void AddCrashEvent(
+ // Generate an appropriate RendererFailure for a renderer crash and insert it
+ // in the database.
+ void AddRendererClosedEvent(
+ content::RenderProcessHost* host,
const content::RenderProcessHost::RendererClosedDetails& details);
// Called on the IO thread, this will call InsertIOData on the background
« no previous file with comments | « chrome/browser/performance_monitor/metric.h ('k') | chrome/browser/performance_monitor/performance_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698