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_SPDY_SPDY_STREAM_H_ | 5 #ifndef NET_SPDY_SPDY_STREAM_H_ |
6 #define NET_SPDY_SPDY_STREAM_H_ | 6 #define NET_SPDY_SPDY_STREAM_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "net/socket/ssl_client_socket.h" | 24 #include "net/socket/ssl_client_socket.h" |
25 #include "net/spdy/spdy_buffer.h" | 25 #include "net/spdy/spdy_buffer.h" |
26 #include "net/spdy/spdy_framer.h" | 26 #include "net/spdy/spdy_framer.h" |
27 #include "net/spdy/spdy_header_block.h" | 27 #include "net/spdy/spdy_header_block.h" |
28 #include "net/spdy/spdy_protocol.h" | 28 #include "net/spdy/spdy_protocol.h" |
29 #include "net/ssl/ssl_client_cert_type.h" | 29 #include "net/ssl/ssl_client_cert_type.h" |
30 #include "url/gurl.h" | 30 #include "url/gurl.h" |
31 | 31 |
32 namespace net { | 32 namespace net { |
33 | 33 |
34 class AddressList; | |
35 class IPEndPoint; | 34 class IPEndPoint; |
36 struct LoadTimingInfo; | 35 struct LoadTimingInfo; |
37 class SSLInfo; | 36 class SSLInfo; |
38 class SpdySession; | 37 class SpdySession; |
39 | 38 |
40 enum SpdyStreamType { | 39 enum SpdyStreamType { |
41 // The most general type of stream; there are no restrictions on | 40 // The most general type of stream; there are no restrictions on |
42 // when data can be sent and received. | 41 // when data can be sent and received. |
43 SPDY_BIDIRECTIONAL_STREAM, | 42 SPDY_BIDIRECTIONAL_STREAM, |
44 // A stream where the client sends a request with possibly a body, | 43 // A stream where the client sends a request with possibly a body, |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 bool write_handler_guard_; | 518 bool write_handler_guard_; |
520 | 519 |
521 base::WeakPtrFactory<SpdyStream> weak_ptr_factory_; | 520 base::WeakPtrFactory<SpdyStream> weak_ptr_factory_; |
522 | 521 |
523 DISALLOW_COPY_AND_ASSIGN(SpdyStream); | 522 DISALLOW_COPY_AND_ASSIGN(SpdyStream); |
524 }; | 523 }; |
525 | 524 |
526 } // namespace net | 525 } // namespace net |
527 | 526 |
528 #endif // NET_SPDY_SPDY_STREAM_H_ | 527 #endif // NET_SPDY_SPDY_STREAM_H_ |
OLD | NEW |