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

Side by Side Diff: chrome/browser/signin/easy_unlock_controller.cc

Issue 197313007: Add Easy Unlock options to chrome://settings behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #include "chrome/browser/signin/easy_unlock_controller.h"
6
7 #include "base/values.h"
8 #include "chrome/common/pref_names.h"
9 #include "components/user_prefs/pref_registry_syncable.h"
10
11 // static.
12 void EasyUnlockController::RegisterProfilePrefs(
13 user_prefs::PrefRegistrySyncable* registry) {
14 registry->RegisterBooleanPref(
15 ::prefs::kEasyUnlockEnabled,
16 false,
17 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
18 registry->RegisterBooleanPref(
19 ::prefs::kEasyUnlockShowTutorial,
20 false,
21 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
22 registry->RegisterDictionaryPref(
23 ::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.
24 new base::DictionaryValue(),
25 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698