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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix syncing of platform specific prefs Created 9 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
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index e18ab51f98e42311f6d1f9a93eb2dbf2a7ade687..12cb1cde742ceef373fbe52b1e6ea77a33b566d2 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -41,7 +41,8 @@ MetricsLog::~MetricsLog() {}
// static
void MetricsLog::RegisterPrefs(PrefService* local_state) {
- local_state->RegisterListPref(prefs::kStabilityPluginStats);
+ local_state->RegisterListPref(prefs::kStabilityPluginStats,
+ false /* don't sync pref */);
}
int64 MetricsLog::GetIncrementalUptime(PrefService* pref) {

Powered by Google App Engine
This is Rietveld 408576698