OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/tools/quic/quic_server_session.h" | 5 #include "net/tools/quic/quic_server_session.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "net/quic/reliable_quic_stream.h" | 8 #include "net/quic/reliable_quic_stream.h" |
9 #include "net/tools/quic/quic_spdy_server_stream.h" | 9 #include "net/tools/quic/quic_spdy_server_stream.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
| 12 namespace tools { |
12 | 13 |
13 QuicServerSession::QuicServerSession(QuicConnection* connection, | 14 QuicServerSession::QuicServerSession(QuicConnection* connection, |
14 QuicSessionOwner* owner) | 15 QuicSessionOwner* owner) |
15 : QuicSession(connection, true), | 16 : QuicSession(connection, true), |
16 crypto_stream_(this), | 17 crypto_stream_(this), |
17 owner_(owner) { | 18 owner_(owner) { |
18 } | 19 } |
19 | 20 |
20 QuicServerSession::~QuicServerSession() { | 21 QuicServerSession::~QuicServerSession() { |
21 } | 22 } |
(...skipping 29 matching lines...) Expand all Loading... |
51 | 52 |
52 ReliableQuicStream* QuicServerSession::CreateOutgoingReliableStream() { | 53 ReliableQuicStream* QuicServerSession::CreateOutgoingReliableStream() { |
53 DLOG(ERROR) << "Server push not yet supported"; | 54 DLOG(ERROR) << "Server push not yet supported"; |
54 return NULL; | 55 return NULL; |
55 } | 56 } |
56 | 57 |
57 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { | 58 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { |
58 return &crypto_stream_; | 59 return &crypto_stream_; |
59 } | 60 } |
60 | 61 |
| 62 } // namespace tools |
61 } // namespace net | 63 } // namespace net |
OLD | NEW |