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

Unified Diff: net/quic/quartc/quartc_session.h

Issue 2915993002: Move tests from portable_quic to the new quic/quartc wrapper location. (Closed)
Patch Set: Added missing test files and included in BUILD.gn Created 3 years, 7 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/BUILD.gn ('k') | net/quic/quartc/quartc_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quartc/quartc_session.h
diff --git a/net/quic/quartc/quartc_session.h b/net/quic/quartc/quartc_session.h
index 98a365003dcb75a400b8277abce11bf2edf57848..33dec27d124594b4e594f0a68000301ab92e819d 100644
--- a/net/quic/quartc/quartc_session.h
+++ b/net/quic/quartc/quartc_session.h
@@ -94,7 +94,11 @@ class QuartcSession : public QuicSession,
QuicStream* CreateIncomingDynamicStream(QuicStreamId id) override;
std::unique_ptr<QuicStream> CreateStream(QuicStreamId id) override;
- QuartcStream* CreateDataStream(QuicStreamId id, SpdyPriority priority);
+ std::unique_ptr<QuartcStream> CreateDataStream(QuicStreamId id,
+ SpdyPriority priority);
+ // Activates a QuartcStream. The session takes ownership of the stream, but
+ // returns an unowned pointer to the stream for convenience.
+ QuartcStream* ActivateDataStream(std::unique_ptr<QuartcStream> stream);
private:
// For crypto handshake.
« no previous file with comments | « net/BUILD.gn ('k') | net/quic/quartc/quartc_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698