Index: chrome/browser/browser_main.cc |
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc |
index 1f59543be950a93eba76cacf8a5b0bd72ab566fa..944cc94084a6a8e69bb40b286a1ce0e8bd3c2b5d 100644 |
--- a/chrome/browser/browser_main.cc |
+++ b/chrome/browser/browser_main.cc |
@@ -103,6 +103,7 @@ |
#include "net/base/network_change_notifier.h" |
#include "net/http/http_network_layer.h" |
#include "net/http/http_stream_factory.h" |
+#include "net/proxy/dhcp_proxy_script_fetcher_factory.h" |
#include "net/socket/client_socket_pool_base.h" |
#include "net/socket/client_socket_pool_manager.h" |
#include "net/socket/tcp_client_socket.h" |
@@ -624,6 +625,9 @@ void InitializeNetworkOptions(const CommandLine& parsed_command_line) { |
net::HttpStreamFactory::SetHostMappingRules( |
parsed_command_line.GetSwitchValueASCII(switches::kHostRules)); |
+ if (parsed_command_line.HasSwitch(switches::kEnableDhcpPac)) |
+ net::DhcpProxyScriptFetcherFactory::GetInstance()->SetEnabled(true); |
+ |
if (parsed_command_line.HasSwitch(switches::kEnableIPPooling)) |
net::SpdySessionPool::enable_ip_pooling(true); |