Index: chrome/browser/signin/easy_unlock_controller.cc |
diff --git a/chrome/browser/signin/easy_unlock_controller.cc b/chrome/browser/signin/easy_unlock_controller.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d19a6d04645c8151f01fe3026fcf065d241abfe5 |
--- /dev/null |
+++ b/chrome/browser/signin/easy_unlock_controller.cc |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/signin/easy_unlock_controller.h" |
+ |
+#include "base/values.h" |
+#include "chrome/common/pref_names.h" |
+#include "components/user_prefs/pref_registry_syncable.h" |
+ |
+// static. |
+void EasyUnlockController::RegisterProfilePrefs( |
+ user_prefs::PrefRegistrySyncable* registry) { |
+ registry->RegisterBooleanPref( |
+ prefs::kEasyUnlockEnabled, |
+ false, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterBooleanPref( |
+ prefs::kEasyUnlockShowTutorial, |
+ false, |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+ registry->RegisterDictionaryPref( |
+ prefs::kEasyUnlockPairing, |
+ new base::DictionaryValue(), |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+} |