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

Unified Diff: chrome/browser/signin/easy_unlock_service_regular.cc

Issue 649223003: easy-unlock: Tighten finch check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move a couple of tests to finch enabled suite and add a no finch test Created 6 years, 2 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_service_browsertest_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service_regular.cc
diff --git a/chrome/browser/signin/easy_unlock_service_regular.cc b/chrome/browser/signin/easy_unlock_service_regular.cc
index 4b733740a4431006a54734a7f919a2cddd861843..5ea569515db2f27f221ba06b7f90f80d581a8b23 100644
--- a/chrome/browser/signin/easy_unlock_service_regular.cc
+++ b/chrome/browser/signin/easy_unlock_service_regular.cc
@@ -191,9 +191,8 @@ bool EasyUnlockServiceRegular::IsAllowedInternal() {
// Respect existing policy and skip finch test.
if (!profile()->GetPrefs()->IsManagedPreference(prefs::kEasyUnlockAllowed)) {
- // It is disabled when the trial exists and is in "Disable" group.
- if (base::FieldTrialList::FindFullName("EasyUnlock") == "Disable")
- return false;
+ // It is enabled when the trial exists and is in "Enable" group.
+ return base::FieldTrialList::FindFullName("EasyUnlock") == "Enable";
}
return true;
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_browsertest_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698