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

Unified Diff: net/quic/reliable_quic_stream.h

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/quic/quic_utils_test.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream.h
diff --git a/net/quic/reliable_quic_stream.h b/net/quic/reliable_quic_stream.h
index 52eb8aa6bef2ad63c317f35ebf7d7c05d30d0793..bc7d29c09b1f539de6a3ee048590a18104511704 100644
--- a/net/quic/reliable_quic_stream.h
+++ b/net/quic/reliable_quic_stream.h
@@ -28,6 +28,8 @@ class IPEndPoint;
class QuicSession;
class SSLInfo;
+#define ENDPOINT (is_server_ ? "Server: " : " Client: ")
+
// All this does right now is send data to subclasses via the sequencer.
class NET_EXPORT_PRIVATE ReliableQuicStream : public
QuicSpdyDecompressor::Visitor {
@@ -224,6 +226,9 @@ class NET_EXPORT_PRIVATE ReliableQuicStream : public
bool priority_parsed_;
bool fin_buffered_;
bool fin_sent_;
+
+ // True if the session this stream is running under is a server session.
+ bool is_server_;
};
} // namespace net
« no previous file with comments | « net/quic/quic_utils_test.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698