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

Unified Diff: net/quic/quic_connection.h

Issue 523813003: Revert of Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/quic/congestion_control/time_loss_algorithm.cc ('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 3b84205474ba04570272dd52cd1c9b526af8d582..0f083536d6c84a44e2e922540018df2bd311b7a2 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -204,9 +204,6 @@
// Called when the connection is closed.
virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) {}
-
- // Called when the version negotiation is successful.
- virtual void OnSuccessfulVersionNegotiation(const QuicVersion& version) {}
};
class NET_EXPORT_PRIVATE QuicConnectionHelperInterface {
@@ -231,6 +228,12 @@
public QuicPacketGenerator::DelegateInterface,
public QuicSentPacketManager::NetworkChangeVisitor {
public:
+ enum PacketType {
+ NORMAL,
+ QUEUED,
+ CONNECTION_CLOSE
+ };
+
enum AckBundling {
NO_ACK = 0,
SEND_ACK = 1,
@@ -564,9 +567,14 @@
EncryptionLevel level,
TransmissionType transmission_type);
- SerializedPacket serialized_packet;
+ QuicPacketSequenceNumber sequence_number;
+ QuicPacket* packet;
const EncryptionLevel encryption_level;
TransmissionType transmission_type;
+ HasRetransmittableData retransmittable;
+ IsHandshake handshake;
+ PacketType type;
+ QuicByteCount length;
};
typedef std::list<QueuedPacket> QueuedPacketList;
@@ -656,9 +664,6 @@
// changed since the last packet we saw on this connection.
void CheckForAddressMigration(const IPEndPoint& self_address,
const IPEndPoint& peer_address);
-
- HasRetransmittableData IsRetransmittable(QueuedPacket packet);
- bool IsConnectionClose(QueuedPacket packet);
QuicFramer framer_;
QuicConnectionHelperInterface* helper_; // Not owned.
@@ -688,7 +693,6 @@
std::vector<QuicGoAwayFrame> last_goaway_frames_;
std::vector<QuicWindowUpdateFrame> last_window_update_frames_;
std::vector<QuicBlockedFrame> last_blocked_frames_;
- std::vector<QuicPingFrame> last_ping_frames_;
std::vector<QuicConnectionCloseFrame> last_close_frames_;
QuicCongestionFeedbackFrame outgoing_congestion_feedback_;
« no previous file with comments | « net/quic/congestion_control/time_loss_algorithm.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698