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

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

Issue 211333005: Launch easy unlock setup app from chrome://settings. (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,
24 new base::DictionaryValue(),
25 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
26 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_controller.h ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698