summaryrefslogtreecommitdiffstats
path: root/net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-27 18:14:00 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-27 18:14:00 +0000
commit89b9b7bb6af6f8503f59a47878aa9034f5cf88a3 (patch)
tree376faec5fed1c3cdd7eb1e1fe79f029825e2bf8d /net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc
parenteac025f0b0ee044453513b89cf6c960b7cf62ce3 (diff)
downloadchromium_src-89b9b7bb6af6f8503f59a47878aa9034f5cf88a3.zip
chromium_src-89b9b7bb6af6f8503f59a47878aa9034f5cf88a3.tar.gz
chromium_src-89b9b7bb6af6f8503f59a47878aa9034f5cf88a3.tar.bz2
Revert 86422 - Make DHCP WPAD on by default.
Reason: Turning off for M13 branch based on some concerns from user experience metrics. Will re-enable after M13 branch point. BUG=18575,84047 TEST=Run Chrome on Windows without any flags. Enable auto-detect in proxy configuration. Net log should show attempts to auto-detect via DHCP. Review URL: http://codereview.chromium.org/7082004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc')
-rw-r--r--net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc b/net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc
index e28cc19..902a41b 100644
--- a/net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc
+++ b/net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc
@@ -5,14 +5,12 @@
#include "net/proxy/dhcp_proxy_script_fetcher.h"
#include "net/proxy/dhcp_proxy_script_fetcher_factory.h"
#include "net/url_request/url_request_test_util.h"
-#include "testing/gtest/include/gtest/gtest.h"
+#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
-
TEST(DhcpProxyScriptFetcherFactoryTest, DoNothingWhenDisabled) {
DhcpProxyScriptFetcherFactory factory;
- factory.set_enabled(false);
scoped_ptr<DhcpProxyScriptFetcher> fetcher(factory.Create(NULL));
EXPECT_EQ("", fetcher->GetFetcherName());
}
@@ -38,11 +36,7 @@ TEST(DhcpProxyScriptFetcherFactoryTest, IsSupported) {
TEST(DhcpProxyScriptFetcherFactoryTest, SetEnabled) {
DhcpProxyScriptFetcherFactory factory;
-#if defined(OS_WIN)
- EXPECT_TRUE(factory.enabled());
-#else
EXPECT_FALSE(factory.enabled());
-#endif // defined(OS_WIN)
factory.set_enabled(false);
EXPECT_FALSE(factory.enabled());