summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 15:35:30 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 15:35:30 +0000
commit58aab66e654215f4b6b8c5b326bb92070ad35a25 (patch)
tree6358d42cfbd66fb34ca2704d903c7e3365b7a934
parent8f02845700e604f3521a61b9c9e2e0178c2fcad3 (diff)
downloadchromium_src-58aab66e654215f4b6b8c5b326bb92070ad35a25.zip
chromium_src-58aab66e654215f4b6b8c5b326bb92070ad35a25.tar.gz
chromium_src-58aab66e654215f4b6b8c5b326bb92070ad35a25.tar.bz2
Removing flag --disable-dhcp-wpad.
BUG=352605 Review URL: https://codereview.chromium.org/203373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257979 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/net/connection_tester.cc4
-rw-r--r--chrome/browser/net/proxy_service_factory.cc2
-rw-r--r--chrome/common/chrome_switches.cc3
-rw-r--r--chrome/common/chrome_switches.h1
4 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
index 5672d45..533f8ac 100644
--- a/chrome/browser/net/connection_tester.cc
+++ b/chrome/browser/net/connection_tester.cc
@@ -189,10 +189,6 @@ class ExperimentURLRequestContext : public net::URLRequestContext {
}
net::DhcpProxyScriptFetcherFactory dhcp_factory;
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableDhcpWpad)) {
- dhcp_factory.set_enabled(false);
- }
#if defined(OS_IOS)
experiment_proxy_service->reset(
diff --git a/chrome/browser/net/proxy_service_factory.cc b/chrome/browser/net/proxy_service_factory.cc
index b4ae71a..d3a434d 100644
--- a/chrome/browser/net/proxy_service_factory.cc
+++ b/chrome/browser/net/proxy_service_factory.cc
@@ -140,8 +140,6 @@ net::ProxyService* ProxyServiceFactory::CreateProxyService(
new chromeos::DhcpProxyScriptFetcherChromeos(context);
#else
net::DhcpProxyScriptFetcherFactory dhcp_factory;
- if (command_line.HasSwitch(switches::kDisableDhcpWpad))
- dhcp_factory.set_enabled(false);
dhcp_proxy_script_fetcher = dhcp_factory.Create(context);
#endif
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index b866830..82cf26c 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -292,9 +292,6 @@ const char kDisableDeviceDiscovery[] = "disable-device-discovery";
const char kDisableDeviceDiscoveryNotifications[] =
"disable-device-discovery-notifications";
-// Disables retrieval of PAC URLs from DHCP as per the WPAD standard.
-const char kDisableDhcpWpad[] = "disable-dhcp-wpad";
-
// Disables Domain Reliability Monitoring.
const char kDisableDomainReliability[] = "disable-domain-reliability";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 97f32e2..52dd265 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -90,7 +90,6 @@ extern const char kDisableCustomJumpList[];
extern const char kDisableDefaultApps[];
extern const char kDisableDeviceDiscovery[];
extern const char kDisableDeviceDiscoveryNotifications[];
-extern const char kDisableDhcpWpad[];
extern const char kDisableDnsProbes[];
extern const char kDisableDomainReliability[];
extern const char kDisableExtensionsFileAccessCheck[];