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

Side by Side Diff: chrome/browser/signin/easy_unlock.h

Issue 410713002: Control easy unlock by a field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_H_
7 7
8 namespace user_prefs { 8 namespace user_prefs {
9 class PrefRegistrySyncable; 9 class PrefRegistrySyncable;
10 } 10 }
11 11
12 class Profile; 12 class Profile;
13 13
14 namespace easy_unlock { 14 namespace easy_unlock {
15 15
16 // Registers Easy Unlock profile preferences. 16 // Registers Easy Unlock profile preferences.
17 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 17 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
18 18
19 // Launches Easy Unlock Setup app. 19 // Launches Easy Unlock Setup app.
20 void LaunchEasyUnlockSetup(Profile* profile); 20 void LaunchEasyUnlockSetup(Profile* profile);
21 21
22 // Whether easy unlock is enabled. The feature is enabled when either the
23 // flag is enabled or its field trial is enabled.
24 bool IsEnabled();
25
22 } // namespace easy_unlock 26 } // namespace easy_unlock
23 27
24 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_H_ 28 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698