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

Unified Diff: chrome/browser/android/metrics/uma_session_stats.cc

Issue 1366643002: Extract guts of ChromeStabilityMetricsProvider into helper class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « no previous file | chrome/browser/memory/system_memory_stats_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/metrics/uma_session_stats.cc
diff --git a/chrome/browser/android/metrics/uma_session_stats.cc b/chrome/browser/android/metrics/uma_session_stats.cc
index 0021a0cf585b4843e18ee2014c6d30a856b000fe..ba80cdaf3a5b0a9258ae76dc32f23d7da65a9150 100644
--- a/chrome/browser/android/metrics/uma_session_stats.cc
+++ b/chrome/browser/android/metrics/uma_session_stats.cc
@@ -119,8 +119,8 @@ static void LogRendererCrash(JNIEnv*, const JavaParamRef<jclass>&) {
// Increment the renderer crash count in stability metrics.
PrefService* pref = g_browser_process->local_state();
DCHECK(pref);
- int value = pref->GetInteger(prefs::kStabilityRendererCrashCount);
- pref->SetInteger(prefs::kStabilityRendererCrashCount, value + 1);
+ int value = pref->GetInteger(metrics::prefs::kStabilityRendererCrashCount);
+ pref->SetInteger(metrics::prefs::kStabilityRendererCrashCount, value + 1);
}
static void RegisterExternalExperiment(JNIEnv* env,
« no previous file with comments | « no previous file | chrome/browser/memory/system_memory_stats_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698