summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 19:56:54 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 19:56:54 +0000
commit636b825e9554d88818f62d3d280944f49a726960 (patch)
tree44acda1793a514198ab557e0093f559e3c5e68d1 /net/spdy
parent625cc1dd952cc86506a9ba3ebccf7673fa4066f8 (diff)
downloadchromium_src-636b825e9554d88818f62d3d280944f49a726960.zip
chromium_src-636b825e9554d88818f62d3d280944f49a726960.tar.gz
chromium_src-636b825e9554d88818f62d3d280944f49a726960.tar.bz2
Turn off backup sockets for most tests in net_unittests.
BUG=78303 TEST=net_unittests Review URL: http://codereview.chromium.org/6814017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_network_transaction_unittest.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/spdy/spdy_network_transaction_unittest.cc b/net/spdy/spdy_network_transaction_unittest.cc
index f0c26f3..b3196b4 100644
--- a/net/spdy/spdy_network_transaction_unittest.cc
+++ b/net/spdy/spdy_network_transaction_unittest.cc
@@ -43,18 +43,11 @@ class SpdyNetworkTransactionTest
google_get_request_initialized_ = false;
google_post_request_initialized_ = false;
google_chunked_post_request_initialized_ = false;
-
- backup_jobs_prev_value_ =
- internal::ClientSocketPoolBaseHelper::connect_backup_jobs_enabled();
- internal::ClientSocketPoolBaseHelper::set_connect_backup_jobs_enabled(
- false);
}
virtual void TearDown() {
// Empty the current queue.
MessageLoop::current()->RunAllPending();
- internal::ClientSocketPoolBaseHelper::set_connect_backup_jobs_enabled(
- backup_jobs_prev_value_);
}
struct TransactionHelperResult {
@@ -511,8 +504,6 @@ class SpdyNetworkTransactionTest
HttpRequestInfo google_post_request_;
HttpRequestInfo google_chunked_post_request_;
HttpRequestInfo google_get_push_request_;
-
- bool backup_jobs_prev_value_;
};
//-----------------------------------------------------------------------------