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..e8b2dd572e7ad5b100cacc5982a1cf0f7fca1cec |
--- /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, |
Roger Tawa OOO till Jul 10th
2014/03/17 17:23:10
No need for :: in front of prefs::
Tim Song
2014/03/17 19:12:07
Done.
|
+ new base::DictionaryValue(), |
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
+} |