| 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 toy server specific QuicSession subclass. | 5 // A toy server specific QuicSession subclass. |
| 6 | 6 |
| 7 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_ | 7 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_ |
| 8 #define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_ | 8 #define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SESSION_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/containers/hash_tables.h" | |
| 17 #include "base/macros.h" | 16 #include "base/macros.h" |
| 18 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 19 #include "net/quic/quic_crypto_server_stream.h" | 18 #include "net/quic/quic_crypto_server_stream.h" |
| 20 #include "net/quic/quic_protocol.h" | 19 #include "net/quic/quic_protocol.h" |
| 21 #include "net/quic/quic_spdy_session.h" | 20 #include "net/quic/quic_spdy_session.h" |
| 22 #include "net/tools/quic/quic_in_memory_cache.h" | 21 #include "net/tools/quic/quic_in_memory_cache.h" |
| 23 #include "net/tools/quic/quic_server_session_base.h" | 22 #include "net/tools/quic/quic_server_session_base.h" |
| 24 #include "net/tools/quic/quic_simple_server_stream.h" | 23 #include "net/tools/quic/quic_simple_server_stream.h" |
| 25 | 24 |
| 26 namespace net { | 25 namespace net { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // stream_id is always next_outgoing_stream_id_, and the last one is always | 144 // stream_id is always next_outgoing_stream_id_, and the last one is always |
| 146 // highest_promised_stream_id_. | 145 // highest_promised_stream_id_. |
| 147 std::deque<PromisedStreamInfo> promised_streams_; | 146 std::deque<PromisedStreamInfo> promised_streams_; |
| 148 | 147 |
| 149 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerSession); | 148 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerSession); |
| 150 }; | 149 }; |
| 151 | 150 |
| 152 } // namespace net | 151 } // namespace net |
| 153 | 152 |
| 154 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ | 153 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ |
| OLD | NEW |