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

Unified Diff: net/tools/quic/quic_server_session_test.cc

Issue 115463002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/tools/quic/quic_server_session.cc ('k') | net/tools/quic/quic_spdy_client_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server_session_test.cc
diff --git a/net/tools/quic/quic_server_session_test.cc b/net/tools/quic/quic_server_session_test.cc
index 8d3c8df9f344c48f8073d6f2d3b517b33ebf17b5..a3dd99682854d90de41d6f11abfd65023b737afc 100644
--- a/net/tools/quic/quic_server_session_test.cc
+++ b/net/tools/quic/quic_server_session_test.cc
@@ -89,13 +89,12 @@ namespace {
class QuicServerSessionTest : public ::testing::Test {
protected:
QuicServerSessionTest()
- : guid_(1),
- crypto_config_(QuicCryptoServerConfig::TESTING,
+ : crypto_config_(QuicCryptoServerConfig::TESTING,
QuicRandom::GetInstance()) {
config_.SetDefaults();
config_.set_max_streams_per_connection(3, 3);
- connection_ = new MockConnection(guid_, IPEndPoint(), 0, &eps_, true);
+ connection_ = new MockConnection(true);
session_.reset(new TestQuicQuicServerSession(
config_, connection_, &owner_));
session_->InitializeSession(crypto_config_);
@@ -109,8 +108,6 @@ class QuicServerSessionTest : public ::testing::Test {
QuicDataStreamPeer::SetHeadersDecompressed(stream, true);
}
- QuicGuid guid_;
- EpollServer eps_;
StrictMock<MockQuicSessionOwner> owner_;
MockConnection* connection_;
QuicConfig config_;
« no previous file with comments | « net/tools/quic/quic_server_session.cc ('k') | net/tools/quic/quic_spdy_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698