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

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: rebase, add go/finch-and-flags comment 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
« no previous file with comments | « chrome/browser/signin/easy_unlock.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc219855c06f2a710548ba974e124063dec2f00b..55a722fb624c7ceeea5670e7575d1edd38115595 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -597,9 +597,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);
« no previous file with comments | « chrome/browser/signin/easy_unlock.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698