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

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

Issue 47283002: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compilation error Created 7 years, 2 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/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_reliable_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_epoll_connection_helper_test.cc
diff --git a/net/tools/quic/quic_epoll_connection_helper_test.cc b/net/tools/quic/quic_epoll_connection_helper_test.cc
index eec3e0c1c30ec96f7e4e6afc87075ef1df5f9cef..7d09d0b3cfc3078b2fde7ca0cbdcef6bd0ba8dff 100644
--- a/net/tools/quic/quic_epoll_connection_helper_test.cc
+++ b/net/tools/quic/quic_epoll_connection_helper_test.cc
@@ -41,7 +41,7 @@ class TestWriter : public QuicPacketWriter {
const IPAddressNumber& self_address,
const IPEndPoint& peer_address,
QuicBlockedWriterInterface* blocked_writer) OVERRIDE {
- QuicFramer framer(QuicVersionMax(), QuicTime::Zero(), true);
+ QuicFramer framer(QuicSupportedVersions(), QuicTime::Zero(), true);
FramerVisitorCapturingFrames visitor;
framer.set_visitor(&visitor);
QuicEncryptedPacket packet(buffer, buf_len);
@@ -67,7 +67,8 @@ class TestConnection : public QuicConnection {
IPEndPoint address,
QuicEpollConnectionHelper* helper,
TestWriter* writer)
- : QuicConnection(guid, address, helper, writer, false, QuicVersionMax()) {
+ : QuicConnection(guid, address, helper, writer, false,
+ QuicSupportedVersions()) {
}
void SendAck() {
@@ -83,7 +84,7 @@ class QuicEpollConnectionHelperTest : public ::testing::Test {
protected:
QuicEpollConnectionHelperTest()
: guid_(42),
- framer_(QuicVersionMax(), QuicTime::Zero(), false),
+ framer_(QuicSupportedVersions(), QuicTime::Zero(), false),
send_algorithm_(new testing::StrictMock<MockSendAlgorithm>),
helper_(&epoll_server_),
connection_(guid_, IPEndPoint(), &helper_, &writer_),
« no previous file with comments | « net/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_reliable_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698