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

Unified Diff: chrome/browser/net/pref_proxy_config_service_unittest.cc

Issue 6871019: Enable (optional) blocking of webrequests in case a PAC script cannot be fetched or is invalid. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 8 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/net/pref_proxy_config_service_unittest.cc
diff --git a/chrome/browser/net/pref_proxy_config_service_unittest.cc b/chrome/browser/net/pref_proxy_config_service_unittest.cc
index 19bb53b630e72ca463d6c067bbfe9a3933efc15f..6d959a3878a2262e7f00e54278ca78b0318f28af 100644
--- a/chrome/browser/net/pref_proxy_config_service_unittest.cc
+++ b/chrome/browser/net/pref_proxy_config_service_unittest.cc
@@ -177,7 +177,7 @@ TEST_F(PrefProxyConfigServiceTest, Observers) {
CONFIG_VALID)).Times(1);
pref_service_->SetManagedPref(
prefs::kProxy,
- ProxyConfigDictionary::CreatePacScript(kFixedPacUrl));
+ ProxyConfigDictionary::CreatePacScript(kFixedPacUrl, false));
loop_.RunAllPending();
Mock::VerifyAndClearExpectations(&observer);
@@ -242,7 +242,7 @@ TEST_F(PrefProxyConfigServiceTest, Fallback) {
CONFIG_VALID)).Times(1);
pref_service_->SetManagedPref(
prefs::kProxy,
- ProxyConfigDictionary::CreatePacScript(kFixedPacUrl));
+ ProxyConfigDictionary::CreatePacScript(kFixedPacUrl, false));
loop_.RunAllPending();
Mock::VerifyAndClearExpectations(&observer);
EXPECT_EQ(CONFIG_VALID,
« no previous file with comments | « chrome/browser/net/pref_proxy_config_service.cc ('k') | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698