| 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 "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "net/base/net_export.h" | 9 #include "net/base/net_export.h" |
| 10 #include "net/base/request_priority.h" | 10 #include "net/base/request_priority.h" |
| 11 #include "net/spdy/spdy_framer.h" | 11 #include "net/spdy/spdy_framer.h" |
| 12 #include "net/spdy/spdy_header_block.h" |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 | 15 |
| 15 class HttpResponseInfo; | 16 class HttpResponseInfo; |
| 16 struct HttpRequestInfo; | 17 struct HttpRequestInfo; |
| 17 class HttpRequestHeaders; | 18 class HttpRequestHeaders; |
| 18 | 19 |
| 19 // Convert a SpdyHeaderBlock into an HttpResponseInfo. | 20 // Convert a SpdyHeaderBlock into an HttpResponseInfo. |
| 20 // |headers| input parameter with the SpdyHeaderBlock. | 21 // |headers| input parameter with the SpdyHeaderBlock. |
| 21 // |response| output parameter for the HttpResponseInfo. | 22 // |response| output parameter for the HttpResponseInfo. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 39 int protocol_version, | 40 int protocol_version, |
| 40 bool pushed); | 41 bool pushed); |
| 41 | 42 |
| 42 NET_EXPORT_PRIVATE SpdyPriority ConvertRequestPriorityToSpdyPriority( | 43 NET_EXPORT_PRIVATE SpdyPriority ConvertRequestPriorityToSpdyPriority( |
| 43 RequestPriority priority, | 44 RequestPriority priority, |
| 44 int protocol_version); | 45 int protocol_version); |
| 45 | 46 |
| 46 } // namespace net | 47 } // namespace net |
| 47 | 48 |
| 48 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_ | 49 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_ |
| OLD | NEW |