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

Unified Diff: net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc

Issue 9817014: Created a new class SpdyTestStateHelper to serve as a helper to manage the state of a number of SPD… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO Created 8 years, 9 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: net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc
diff --git a/net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc b/net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc
index 88c09f6e2822b70ba4a87010d896ed74e76b3ac5..ce3adc76031d6b13f8fade621459d6bd4e66c04f 100644
--- a/net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc
+++ b/net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc
@@ -128,6 +128,7 @@ class SpdyProxyClientSocketSpdy2Test : public PlatformTest {
ProxyServer proxy_;
HostPortProxyPair endpoint_host_port_proxy_pair_;
scoped_refptr<TransportSocketParams> transport_params_;
+ SpdyTestStateHelper spdy_state_;
DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocketSpdy2Test);
};
@@ -159,7 +160,6 @@ void SpdyProxyClientSocketSpdy2Test::TearDown() {
if (session_ != NULL)
session_->spdy_session_pool()->CloseAllSessions();
- spdy::SpdyFramer::set_enable_compression_default(true);
// Empty the current queue.
MessageLoop::current()->RunAllPending();
PlatformTest::TearDown();
@@ -179,7 +179,6 @@ void SpdyProxyClientSocketSpdy2Test::Initialize(MockRead* reads,
session_ = SpdySessionDependencies::SpdyCreateSessionDeterministic(
&session_deps_);
- spdy::SpdyFramer::set_enable_compression_default(false);
// Creates a new spdy session
spdy_session_ =
« no previous file with comments | « net/spdy/spdy_network_transaction_spdy3_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698