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

Unified Diff: remoting/protocol/quic_channel_factory.cc

Issue 1331053003: Landing Recent QUIC changes until 8/28/2015 18:03 UTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0909_1
Patch Set: use iterator for begin and end methods of PacketNumberQueue Created 5 years, 3 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_time_wait_list_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/quic_channel_factory.cc
diff --git a/remoting/protocol/quic_channel_factory.cc b/remoting/protocol/quic_channel_factory.cc
index 0a495467110a3fdc021247b93fac07d8f2863ee1..26ff3c8cbc18f8dfc2f564a7063a8a2ce40c646e 100644
--- a/remoting/protocol/quic_channel_factory.cc
+++ b/remoting/protocol/quic_channel_factory.cc
@@ -23,6 +23,7 @@
#include "net/quic/quic_clock.h"
#include "net/quic/quic_connection_helper.h"
#include "net/quic/quic_default_packet_writer.h"
+#include "net/quic/quic_protocol.h"
#include "net/socket/stream_socket.h"
#include "remoting/base/constants.h"
#include "remoting/protocol/datagram_channel_factory.h"
@@ -77,6 +78,10 @@ class P2PQuicPacketWriter : public net::QuicPacketWriter {
}
bool IsWriteBlocked() const override { return write_blocked_; }
void SetWritable() override { write_blocked_ = false; }
+ net::QuicByteCount GetMaxPacketSize(const net::IPEndPoint& peer_address) const
+ override {
+ return net::kMaxPacketSize;
+ }
private:
void OnSendComplete(int result){
« no previous file with comments | « net/tools/quic/quic_time_wait_list_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698