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_HTTP_UTILS_H_ | 5 #ifndef NET_SPDY_SPDY_HTTP_UTILS_H_ |
6 #define NET_SPDY_SPDY_HTTP_UTILS_H_ | 6 #define NET_SPDY_SPDY_HTTP_UTILS_H_ |
7 | 7 |
8 #include "net/base/net_export.h" | 8 #include "net/base/net_export.h" |
9 #include "net/base/request_priority.h" | 9 #include "net/base/request_priority.h" |
10 #include "net/spdy/spdy_framer.h" | 10 #include "net/spdy/core/spdy_framer.h" |
11 #include "net/spdy/spdy_header_block.h" | 11 #include "net/spdy/core/spdy_header_block.h" |
12 #include "net/spdy/spdy_protocol.h" | 12 #include "net/spdy/core/spdy_protocol.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 class HttpResponseInfo; | 17 class HttpResponseInfo; |
18 struct HttpRequestInfo; | 18 struct HttpRequestInfo; |
19 class HttpRequestHeaders; | 19 class HttpRequestHeaders; |
20 | 20 |
21 // Convert a SpdyHeaderBlock into an HttpResponseInfo. | 21 // Convert a SpdyHeaderBlock into an HttpResponseInfo. |
22 // |headers| input parameter with the SpdyHeaderBlock. | 22 // |headers| input parameter with the SpdyHeaderBlock. |
(...skipping 22 matching lines...) Expand all Loading... |
45 | 45 |
46 NET_EXPORT SpdyPriority | 46 NET_EXPORT SpdyPriority |
47 ConvertRequestPriorityToSpdyPriority(RequestPriority priority); | 47 ConvertRequestPriorityToSpdyPriority(RequestPriority priority); |
48 | 48 |
49 NET_EXPORT RequestPriority | 49 NET_EXPORT RequestPriority |
50 ConvertSpdyPriorityToRequestPriority(SpdyPriority priority); | 50 ConvertSpdyPriorityToRequestPriority(SpdyPriority priority); |
51 | 51 |
52 } // namespace net | 52 } // namespace net |
53 | 53 |
54 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_ | 54 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_ |
OLD | NEW |