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

Unified Diff: trunk/src/net/quic/quic_session.h

Issue 16374004: Revert 204046 "Land Recent QUIC changes." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | « trunk/src/net/quic/quic_protocol.cc ('k') | trunk/src/net/quic/quic_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/quic/quic_session.h
===================================================================
--- trunk/src/net/quic/quic_session.h (revision 204061)
+++ trunk/src/net/quic/quic_session.h (working copy)
@@ -114,7 +114,6 @@
bool IsClosedStream(QuicStreamId id);
QuicConnection* connection() { return connection_.get(); }
- const QuicConnection* connection() const { return connection_.get(); }
size_t num_active_requests() const { return stream_map_.size(); }
const IPEndPoint& peer_address() const {
return connection_->peer_address();
@@ -145,8 +144,6 @@
QuicSpdyDecompressor* decompressor() { return &decompressor_; }
QuicSpdyCompressor* compressor() { return &compressor_; }
- QuicErrorCode error() const { return error_; }
-
protected:
// Creates a new stream, owned by the caller, to handle a peer-initiated
// stream. Returns NULL and does error handling if the stream can not be
@@ -177,11 +174,6 @@
base::hash_map<QuicStreamId, ReliableQuicStream*>* streams() {
return &stream_map_;
}
-
- const base::hash_map<QuicStreamId, ReliableQuicStream*>* streams() const {
- return &stream_map_;
- }
-
std::vector<ReliableQuicStream*>* closed_streams() {
return &closed_streams_;
}
@@ -236,9 +228,6 @@
QuicStreamId largest_peer_created_stream_id_;
- // The latched error with which the connection was closed.
- QuicErrorCode error_;
-
// Whether a GoAway has been received.
bool goaway_received_;
// Whether a GoAway has been sent.
« no previous file with comments | « trunk/src/net/quic/quic_protocol.cc ('k') | trunk/src/net/quic/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698