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

Unified Diff: chrome/browser/instant/instant_controller.cc

Issue 7888047: Added Instant preference syncing and tests. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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
Index: chrome/browser/instant/instant_controller.cc
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index 832a2d7da2e8e035462892aa94dc8135bad3ad2e..695a79693f87ed8f49a3435b9f59f117a0de389f 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -83,16 +83,16 @@ InstantController::~InstantController() {
void InstantController::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kInstantConfirmDialogShown,
false,
- PrefService::UNSYNCABLE_PREF);
+ PrefService::SYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kInstantEnabled,
false,
- PrefService::UNSYNCABLE_PREF);
+ PrefService::SYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kInstantEnabledOnce,
false,
- PrefService::UNSYNCABLE_PREF);
+ PrefService::SYNCABLE_PREF);
prefs->RegisterInt64Pref(prefs::kInstantEnabledTime,
false,
- PrefService::UNSYNCABLE_PREF);
+ PrefService::SYNCABLE_PREF);
Nicolas Zea 2011/09/14 21:32:12 Have you verified that this value is cross-platfor
csharp 2011/09/15 13:39:12 I have not, I had thought that it would be cross-p
Nicolas Zea 2011/09/15 19:48:57 Looking below, it's just a base::Time::Now().ToInt
PromoCounter::RegisterUserPrefs(prefs, prefs::kInstantPromo);
}

Powered by Google App Engine
This is Rietveld 408576698