1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/signin/easy_unlock_controller.h"
7 #include "base/values.h"
8 #include "chrome/common/pref_names.h"
9 #include "components/user_prefs/pref_registry_syncable.h"
12 void EasyUnlockController::RegisterProfilePrefs(
13 user_prefs::PrefRegistrySyncable* registry) {
14 registry->RegisterBooleanPref(
15 prefs::kEasyUnlockEnabled,
17 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
18 registry->RegisterBooleanPref(
19 prefs::kEasyUnlockShowTutorial,
21 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
22 registry->RegisterDictionaryPref(
23 prefs::kEasyUnlockPairing,
24 new base::DictionaryValue(),
25 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);