OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_QUIC_TEST_TOOLS_QUIC_DATA_STREAM_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_DATA_STREAM_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_DATA_STREAM_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_DATA_STREAM_PEER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "net/quic/quic_protocol.h" | |
10 | 9 |
11 namespace net { | 10 namespace net { |
12 | 11 |
13 class QuicDataStream; | 12 class QuicDataStream; |
14 | 13 |
15 namespace test { | 14 namespace test { |
16 | 15 |
17 class QuicDataStreamPeer { | 16 class QuicDataStreamPeer { |
18 public: | 17 public: |
19 static void SetHeadersDecompressed(QuicDataStream* stream, | 18 static void SetHeadersDecompressed(QuicDataStream* stream, |
20 bool headers_decompressed); | 19 bool headers_decompressed); |
21 | 20 |
22 private: | 21 private: |
23 DISALLOW_COPY_AND_ASSIGN(QuicDataStreamPeer); | 22 DISALLOW_COPY_AND_ASSIGN(QuicDataStreamPeer); |
24 }; | 23 }; |
25 | 24 |
26 } // namespace test | 25 } // namespace test |
27 | 26 |
28 } // namespace net | 27 } // namespace net |
29 | 28 |
30 #endif // NET_QUIC_TEST_TOOLS_QUIC_DATA_STREAM_PEER_H_ | 29 #endif // NET_QUIC_TEST_TOOLS_QUIC_DATA_STREAM_PEER_H_ |
OLD | NEW |