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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

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/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index e7197633088b3bcf2e0877c5aa98af6322107c59..ccaabdeb0603178265025347f598693eea9d6cec 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -595,9 +595,7 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
values->SetString("languagesLearnMoreURL",
chrome::kLanguageSettingsLearnMoreUrl);
- values->SetBoolean(
- "easyUnlockEnabled",
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableEasyUnlock));
+ values->SetBoolean("easyUnlockEnabled", easy_unlock::IsEnabled());
values->SetString("easyUnlockLearnMoreURL", chrome::kEasyUnlockLearnMoreUrl);
values->SetString("easyUnlockManagementURL",
chrome::kEasyUnlockManagementUrl);
« chrome/browser/signin/easy_unlock.cc ('K') | « chrome/browser/signin/easy_unlock.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698