| Index: net/quic/quartc/quartc_session.cc
|
| diff --git a/net/quic/quartc/quartc_session.cc b/net/quic/quartc/quartc_session.cc
|
| index 92e3c485d506640b579c4737f1f91936833cde67..0e839c9d437a07014eec61c22de1b07433ba8574 100644
|
| --- a/net/quic/quartc/quartc_session.cc
|
| +++ b/net/quic/quartc/quartc_session.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "net/quic/quartc/quartc_session.h"
|
|
|
| +#include "net/quic/platform/api/quic_ptr_util.h"
|
| +
|
| using std::string;
|
|
|
| namespace net {
|
| @@ -273,6 +275,11 @@ QuicStream* QuartcSession::CreateIncomingDynamicStream(QuicStreamId id) {
|
| return stream;
|
| }
|
|
|
| +std::unique_ptr<QuicStream> QuartcSession::CreateStream(QuicStreamId id) {
|
| + QuartcStream* stream = CreateDataStream(id, kDefaultPriority);
|
| + return QuicWrapUnique(stream);
|
| +}
|
| +
|
| QuartcStream* QuartcSession::CreateDataStream(QuicStreamId id,
|
| SpdyPriority priority) {
|
| if (crypto_stream_ == nullptr || !crypto_stream_->encryption_established()) {
|
|
|