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 // A QuicSession, which demuxes a single connection to individual streams. | 5 // A QuicSession, which demuxes a single connection to individual streams. |
6 | 6 |
7 #ifndef NET_QUIC_QUIC_SESSION_H_ | 7 #ifndef NET_QUIC_CORE_QUIC_SESSION_H_ |
8 #define NET_QUIC_QUIC_SESSION_H_ | 8 #define NET_QUIC_CORE_QUIC_SESSION_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <map> | 12 #include <map> |
13 #include <memory> | 13 #include <memory> |
14 #include <string> | 14 #include <string> |
15 #include <unordered_map> | 15 #include <unordered_map> |
16 #include <unordered_set> | 16 #include <unordered_set> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 | 434 |
435 // The stream id which was last popped in OnCanWrite, or 0, if not under the | 435 // The stream id which was last popped in OnCanWrite, or 0, if not under the |
436 // call stack of OnCanWrite. | 436 // call stack of OnCanWrite. |
437 QuicStreamId currently_writing_stream_id_; | 437 QuicStreamId currently_writing_stream_id_; |
438 | 438 |
439 DISALLOW_COPY_AND_ASSIGN(QuicSession); | 439 DISALLOW_COPY_AND_ASSIGN(QuicSession); |
440 }; | 440 }; |
441 | 441 |
442 } // namespace net | 442 } // namespace net |
443 | 443 |
444 #endif // NET_QUIC_QUIC_SESSION_H_ | 444 #endif // NET_QUIC_CORE_QUIC_SESSION_H_ |
OLD | NEW |