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 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ | 5 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ |
6 #define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ | 6 #define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "net/quic/quic_protocol.h" | 13 #include "net/quic/core/quic_protocol.h" |
14 #include "net/quic/quic_spdy_stream.h" | 14 #include "net/quic/core/quic_spdy_stream.h" |
15 #include "net/spdy/spdy_framer.h" | 15 #include "net/spdy/spdy_framer.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 | 19 |
20 namespace test { | 20 namespace test { |
21 class QuicSimpleServerStreamPeer; | 21 class QuicSimpleServerStreamPeer; |
22 } // namespace test | 22 } // namespace test |
23 | 23 |
24 // All this does right now is aggregate data, and on fin, send an HTTP | 24 // All this does right now is aggregate data, and on fin, send an HTTP |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 SpdyHeaderBlock request_headers_; | 81 SpdyHeaderBlock request_headers_; |
82 int64_t content_length_; | 82 int64_t content_length_; |
83 std::string body_; | 83 std::string body_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerStream); | 85 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerStream); |
86 }; | 86 }; |
87 | 87 |
88 } // namespace net | 88 } // namespace net |
89 | 89 |
90 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ | 90 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ |
OLD | NEW |