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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 bool write_handler_guard_; | 571 bool write_handler_guard_; |
573 | 572 |
574 base::WeakPtrFactory<SpdyStream> weak_ptr_factory_; | 573 base::WeakPtrFactory<SpdyStream> weak_ptr_factory_; |
575 | 574 |
576 DISALLOW_COPY_AND_ASSIGN(SpdyStream); | 575 DISALLOW_COPY_AND_ASSIGN(SpdyStream); |
577 }; | 576 }; |
578 | 577 |
579 } // namespace net | 578 } // namespace net |
580 | 579 |
581 #endif // NET_SPDY_SPDY_STREAM_H_ | 580 #endif // NET_SPDY_SPDY_STREAM_H_ |
OLD | NEW |