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

Unified Diff: chrome/browser/signin/easy_unlock_service.cc

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 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
« no previous file with comments | « chrome/browser/signin/account_tracker_service_factory.cc ('k') | chrome/browser/signin/local_auth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service.cc
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
index 9af5d0c71df8199296c41b10d97df57c503e23e6..3d5a3d5602852ba83cb19e8f4cb1b865cc78688f 100644
--- a/chrome/browser/signin/easy_unlock_service.cc
+++ b/chrome/browser/signin/easy_unlock_service.cc
@@ -261,18 +261,10 @@ EasyUnlockService::~EasyUnlockService() {
// static
void EasyUnlockService::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
- registry->RegisterBooleanPref(
- prefs::kEasyUnlockAllowed,
- true,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterBooleanPref(
- prefs::kEasyUnlockEnabled,
- false,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterDictionaryPref(
- prefs::kEasyUnlockPairing,
- new base::DictionaryValue(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterBooleanPref(prefs::kEasyUnlockAllowed, true);
+ registry->RegisterBooleanPref(prefs::kEasyUnlockEnabled, false);
+ registry->RegisterDictionaryPref(prefs::kEasyUnlockPairing,
+ new base::DictionaryValue());
registry->RegisterBooleanPref(
prefs::kEasyUnlockProximityRequired,
false,
« no previous file with comments | « chrome/browser/signin/account_tracker_service_factory.cc ('k') | chrome/browser/signin/local_auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698