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

Unified Diff: net/quic/core/quic_stream.h

Issue 2487613002: Landing Recent QUIC changes until 12:43 PM, Nov 5, 2016 UTC+8 (Closed)
Patch Set: Created 4 years, 1 month 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/core/quic_spdy_stream_test.cc ('k') | net/quic/core/quic_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_stream.h
diff --git a/net/quic/core/reliable_quic_stream.h b/net/quic/core/quic_stream.h
similarity index 95%
rename from net/quic/core/reliable_quic_stream.h
rename to net/quic/core/quic_stream.h
index 563218464398e4e6433b49d97cae395402b24299..a18df0556badceab2e0ec4ce869d5791d70550fc 100644
--- a/net/quic/core/reliable_quic_stream.h
+++ b/net/quic/core/quic_stream.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// The base class for client/server reliable streams.
+// The base class for client/server QUIC streams.
// It does not contain the entire interface needed by an application to interact
// with a QUIC stream. Some parts of the interface must be obtained by
-// accessing the owning session object. A subclass of ReliableQuicStream
+// accessing the owning session object. A subclass of QuicStream
// connects the object and the application that generates and consumes the data
// of the stream.
-// The ReliableQuicStream object has a dependent QuicStreamSequencer object,
+// The QuicStream object has a dependent QuicStreamSequencer object,
// which is given the stream frames as they arrive, and provides stream data in
// order by invoking ProcessRawData().
-#ifndef NET_QUIC_RELIABLE_QUIC_STREAM_H_
-#define NET_QUIC_RELIABLE_QUIC_STREAM_H_
+#ifndef NET_QUIC_CORE_QUIC_STREAM_H_
+#define NET_QUIC_CORE_QUIC_STREAM_H_
#include <stddef.h>
#include <stdint.h>
@@ -37,16 +37,16 @@
namespace net {
namespace test {
-class ReliableQuicStreamPeer;
+class QuicStreamPeer;
} // namespace test
class QuicSession;
-class NET_EXPORT_PRIVATE ReliableQuicStream {
+class NET_EXPORT_PRIVATE QuicStream {
public:
- ReliableQuicStream(QuicStreamId id, QuicSession* session);
+ QuicStream(QuicStreamId id, QuicSession* session);
- virtual ~ReliableQuicStream();
+ virtual ~QuicStream();
// Not in use currently.
void SetFromConfig();
@@ -223,7 +223,7 @@ class NET_EXPORT_PRIVATE ReliableQuicStream {
}
private:
- friend class test::ReliableQuicStreamPeer;
+ friend class test::QuicStreamPeer;
friend class QuicStreamUtils;
// Close the read side of the socket. May cause the stream to be closed.
@@ -313,9 +313,9 @@ class NET_EXPORT_PRIVATE ReliableQuicStream {
// For debugging only, used for busy loop check.
size_t busy_counter_;
- DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream);
+ DISALLOW_COPY_AND_ASSIGN(QuicStream);
};
} // namespace net
-#endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_
+#endif // NET_QUIC_CORE_QUIC_STREAM_H_
« no previous file with comments | « net/quic/core/quic_spdy_stream_test.cc ('k') | net/quic/core/quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698