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

Unified Diff: net/spdy/spdy_session_spdy3_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
« no previous file with comments | « net/spdy/spdy_session_spdy2_unittest.cc ('k') | net/spdy/spdy_stream_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_spdy3_unittest.cc
diff --git a/net/spdy/spdy_session_spdy3_unittest.cc b/net/spdy/spdy_session_spdy3_unittest.cc
index c38b769062c96d443fa009ac387ff4b4e8fbbce4..f88bff162b672bb03b550e4940659b7acfdbab86 100644
--- a/net/spdy/spdy_session_spdy3_unittest.cc
+++ b/net/spdy/spdy_session_spdy3_unittest.cc
@@ -20,19 +20,13 @@ namespace net {
// TODO(cbentzel): Expose compression setter/getter in public SpdySession
// interface rather than going through all these contortions.
class SpdySessionSpdy3Test : public PlatformTest {
- public:
- static void TurnOffCompression() {
- spdy::SpdyFramer::set_enable_compression_default(false);
- }
protected:
virtual void SetUp() {
SpdySession::set_default_protocol(SSLClientSocket::kProtoSPDY3);
}
- virtual void TearDown() {
- // Wanted to be 100% sure PING is disabled.
- SpdySession::set_enable_ping_based_connection_checking(false);
- }
+ private:
+ SpdyTestStateHelper spdy_state_;
};
class TestSpdyStreamDelegate : public net::SpdyStream::Delegate {
« no previous file with comments | « net/spdy/spdy_session_spdy2_unittest.cc ('k') | net/spdy/spdy_stream_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698