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

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

Issue 8113035: Remove RenderProcessHost::is_extension_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 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
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_service.h
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h
index dc781e4eb5f6dae2ca4175da3294d704cb8a3731..c5a0b76ecde110a45577964738a9f560015125b6 100644
--- a/chrome/browser/metrics/metrics_service.h
+++ b/chrome/browser/metrics/metrics_service.h
@@ -16,6 +16,7 @@
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
+#include "base/process_util.h"
#include "chrome/browser/io_thread.h"
#include "chrome/common/metrics_helpers.h"
#include "content/common/notification_observer.h"
@@ -33,6 +34,7 @@ class MetricsLogBase;
class MetricsReportingScheduler;
class PrefService;
class Profile;
+class RenderProcessHost;
class TemplateURLService;
namespace base {
@@ -253,10 +255,9 @@ class MetricsService : public NotificationObserver,
void IncrementLongPrefsValue(const char* path);
// Records a renderer process crash.
- void LogRendererCrash();
-
- // Records an extension renderer process crash.
- void LogExtensionRendererCrash();
+ void LogRendererCrash(RenderProcessHost* host,
+ base::TerminationStatus status,
+ bool was_alive);
// Records a renderer process hang.
void LogRendererHang();
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698