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

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

Issue 818433003: ChromeOS: Implement CaptivePortalAuthenticationIgnoresProxy policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests fixed. Created 5 years, 10 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 5224eca8139319287e8b463c7aeba25c5f5d0958..96d9e07cdf0f4dcef20ae02ea7e012a4d34dc202 100644
--- a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
@@ -148,6 +148,11 @@ void GetExpectedDefaultPolicy(PolicyMap* policy_map) {
POLICY_SCOPE_USER,
new base::FundamentalValue(false),
NULL);
+ policy_map->Set(key::kCaptivePortalAuthenticationIgnoresProxy,
+ POLICY_LEVEL_MANDATORY,
+ POLICY_SCOPE_USER,
+ new base::FundamentalValue(false),
+ NULL);
#endif
}
@@ -189,6 +194,11 @@ void GetExpectedTestPolicy(PolicyMap* expected, const char* homepage) {
POLICY_SCOPE_USER,
new base::FundamentalValue(false),
NULL);
+ expected->Set(key::kCaptivePortalAuthenticationIgnoresProxy,
+ POLICY_LEVEL_MANDATORY,
+ POLICY_SCOPE_USER,
+ new base::FundamentalValue(false),
+ NULL);
#endif
}
« no previous file with comments | « chrome/browser/chromeos/preferences.cc ('k') | chrome/browser/policy/configuration_policy_handler_list_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698