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

Unified Diff: net/spdy/spdy_stream_spdy2_unittest.cc

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix flip_in_mem_edsm_server Created 8 years 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_spdy3_unittest.cc ('k') | net/spdy/spdy_stream_spdy3_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream_spdy2_unittest.cc
diff --git a/net/spdy/spdy_stream_spdy2_unittest.cc b/net/spdy/spdy_stream_spdy2_unittest.cc
index 10c24a8581bceb8d2d834fdfefb5b568f08332ff..602ff31fbe22a350de47356523a187f128e0c3f9 100644
--- a/net/spdy/spdy_stream_spdy2_unittest.cc
+++ b/net/spdy/spdy_stream_spdy2_unittest.cc
@@ -23,7 +23,7 @@ namespace net {
namespace {
SpdyFrame* ConstructSpdyBodyFrame(const char* data, int length) {
- BufferedSpdyFramer framer(2);
+ BufferedSpdyFramer framer(2, false);
return framer.CreateDataFrame(1, data, length, DATA_FLAG_NONE);
}
@@ -44,18 +44,11 @@ class SpdyStreamSpdy2Test : public testing::Test {
return session;
}
- virtual void SetUp() {
- SpdySession::set_default_protocol(kProtoSPDY2);
- }
-
virtual void TearDown() {
MessageLoop::current()->RunUntilIdle();
}
scoped_refptr<HttpNetworkSession> session_;
-
- private:
- SpdyTestStateHelper spdy_state_;
};
TEST_F(SpdyStreamSpdy2Test, SendDataAfterOpen) {
« no previous file with comments | « net/spdy/spdy_session_spdy3_unittest.cc ('k') | net/spdy/spdy_stream_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698