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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/easy_unlock.h
diff --git a/chrome/browser/signin/easy_unlock.h b/chrome/browser/signin/easy_unlock.h
index 48f9f0cc28b6cbd7ed1ee57b97a4a141281afcb3..c584a33f6a3400aee7815f0ca6bdf985c6f14f31 100644
--- a/chrome/browser/signin/easy_unlock.h
+++ b/chrome/browser/signin/easy_unlock.h
@@ -19,6 +19,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
// Launches Easy Unlock Setup app.
void LaunchEasyUnlockSetup(Profile* profile);
+// Whether easy unlock is enabled. The feature is enabled when either the
+// flag is enabled or its field trial is enabled.
+bool IsEnabled();
+
} // namespace easy_unlock
#endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_H_

Powered by Google App Engine
This is Rietveld 408576698