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

Unified Diff: net/quic/quic_connection.h

Issue 329933003: Refactor the Connection and Generator so the Creator is completely (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/net.gypi ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index acd8f02dede4468e5814dd3903491d3193ae5abb..255ee158b96657f0229f5467c11dfd6958b1a494 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -360,12 +360,8 @@ class NET_EXPORT_PRIVATE QuicConnection
QuicConnectionId connection_id() const { return connection_id_; }
const QuicClock* clock() const { return clock_; }
QuicRandom* random_generator() const { return random_generator_; }
- size_t max_packet_length() const {
- return packet_creator_.max_packet_length();
- }
- void set_max_packet_length(size_t length) {
- return packet_creator_.set_max_packet_length(length);
- }
+ size_t max_packet_length() const;
+ void set_max_packet_length(size_t length);
bool connected() const { return connected_; }
@@ -706,7 +702,6 @@ class NET_EXPORT_PRIVATE QuicConnection
QuicConnectionVisitorInterface* visitor_;
QuicConnectionDebugVisitor* debug_visitor_;
- QuicPacketCreator packet_creator_;
QuicPacketGenerator packet_generator_;
// Network idle time before we kill of this connection.
« no previous file with comments | « net/net.gypi ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698