| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "net/quic/core/quic_packets.h" | 11 #include "net/quic/core/quic_packets.h" |
| 12 #include "net/quic/core/quic_spdy_stream.h" | 12 #include "net/quic/core/quic_spdy_stream.h" |
| 13 #include "net/quic/platform/api/quic_string_piece.h" | 13 #include "net/quic/platform/api/quic_string_piece.h" |
| 14 #include "net/spdy/spdy_framer.h" | 14 #include "net/spdy/core/spdy_framer.h" |
| 15 #include "net/tools/quic/quic_http_response_cache.h" | 15 #include "net/tools/quic/quic_http_response_cache.h" |
| 16 #include "net/tools/quic/quic_spdy_server_stream_base.h" | 16 #include "net/tools/quic/quic_spdy_server_stream_base.h" |
| 17 | 17 |
| 18 namespace net { | 18 namespace net { |
| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 std::string body_; | 83 std::string body_; |
| 84 | 84 |
| 85 QuicHttpResponseCache* response_cache_; // Not owned. | 85 QuicHttpResponseCache* response_cache_; // Not owned. |
| 86 | 86 |
| 87 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerStream); | 87 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServerStream); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace net | 90 } // namespace net |
| 91 | 91 |
| 92 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ | 92 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_STREAM_H_ |
| OLD | NEW |