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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_browsertest.cc

Issue 478773002: Make Easy unlock disabled by default for enterprise user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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/policy/cloud/cloud_policy_browsertest.cc
diff --git a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
index 694bd7c42838595085867d5df642549a6a2c3a81..413a47174c1b7b27538462b1663745382bbb6cd0 100644
--- a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
@@ -142,6 +142,11 @@ void GetExpectedDefaultPolicy(PolicyMap* policy_map) {
POLICY_SCOPE_USER,
new base::StringValue("primary-only"),
NULL);
+ policy_map->Set(key::kEasyUnlockAllowed,
+ POLICY_LEVEL_MANDATORY,
+ POLICY_SCOPE_USER,
+ new base::FundamentalValue(false),
+ NULL);
#endif
}
@@ -178,6 +183,11 @@ void GetExpectedTestPolicy(PolicyMap* expected, const char* homepage) {
POLICY_SCOPE_USER,
new base::StringValue("primary-only"),
NULL);
+ expected->Set(key::kEasyUnlockAllowed,
+ POLICY_LEVEL_MANDATORY,
+ POLICY_SCOPE_USER,
+ new base::FundamentalValue(false),
+ NULL);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698