OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_ | 5 #ifndef CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_ |
6 #define CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_ | 6 #define CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
9 #include "content/public/common/resource_type.h" | 11 #include "content/public/common/resource_type.h" |
10 | 12 |
11 namespace blink { | 13 namespace blink { |
12 class WebURLRequest; | 14 class WebURLRequest; |
13 } | 15 } |
14 | 16 |
15 namespace content { | 17 namespace content { |
16 | 18 |
17 CONTENT_EXPORT ResourceType WebURLRequestToResourceType( | 19 CONTENT_EXPORT ResourceType WebURLRequestToResourceType( |
18 const blink::WebURLRequest& request); | 20 const blink::WebURLRequest& request); |
19 | 21 |
| 22 std::string GetWebURLRequestHeaders(const blink::WebURLRequest& request); |
| 23 |
| 24 int GetLoadFlagsForWebURLRequest(const blink::WebURLRequest& request); |
| 25 |
20 } // namespace content | 26 } // namespace content |
21 | 27 |
22 #endif // CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_ | 28 #endif // CONTENT_CHILD_TARGET_TYPE_CONVERSION_H_ |
OLD | NEW |