| OLD | NEW |
| 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_ |
| OLD | NEW |