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_WEB_URL_REQUEST_UTIL_H_ | 5 #ifndef CONTENT_CHILD_WEB_URL_REQUEST_UTIL_H_ |
6 #define CONTENT_CHILD_WEB_URL_REQUEST_UTIL_H_ | 6 #define CONTENT_CHILD_WEB_URL_REQUEST_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 FetchCredentialsMode GetFetchCredentialsModeForWebURLRequest( | 52 FetchCredentialsMode GetFetchCredentialsModeForWebURLRequest( |
53 const blink::WebURLRequest& request); | 53 const blink::WebURLRequest& request); |
54 FetchRedirectMode GetFetchRedirectModeForWebURLRequest( | 54 FetchRedirectMode GetFetchRedirectModeForWebURLRequest( |
55 const blink::WebURLRequest& request); | 55 const blink::WebURLRequest& request); |
56 RequestContextFrameType GetRequestContextFrameTypeForWebURLRequest( | 56 RequestContextFrameType GetRequestContextFrameTypeForWebURLRequest( |
57 const blink::WebURLRequest& request); | 57 const blink::WebURLRequest& request); |
58 RequestContextType GetRequestContextTypeForWebURLRequest( | 58 RequestContextType GetRequestContextTypeForWebURLRequest( |
59 const blink::WebURLRequest& request); | 59 const blink::WebURLRequest& request); |
60 blink::WebMixedContentContextType GetMixedContentContextTypeForWebURLRequest( | 60 blink::WebMixedContentContextType GetMixedContentContextTypeForWebURLRequest( |
61 const blink::WebURLRequest& request); | 61 const blink::WebURLRequest& request); |
62 SkipServiceWorker GetSkipServiceWorkerForWebURLRequest( | 62 ServiceWorkerMode GetServiceWorkerModeForWebURLRequest( |
63 const blink::WebURLRequest& request); | 63 const blink::WebURLRequest& request); |
64 | 64 |
65 // Generates a WebURLError based on |reason|. | 65 // Generates a WebURLError based on |reason|. |
66 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, | 66 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, |
67 bool stale_copy_in_cache, | 67 bool stale_copy_in_cache, |
68 int reason); | 68 int reason); |
69 | 69 |
70 // Generates a WebURLError based on |reason|. | 70 // Generates a WebURLError based on |reason|. |
71 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, | 71 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, |
72 bool stale_copy_in_cache, | 72 bool stale_copy_in_cache, |
73 int reason, | 73 int reason, |
74 bool was_ignored_by_handler); | 74 bool was_ignored_by_handler); |
75 | 75 |
76 } // namespace content | 76 } // namespace content |
77 | 77 |
78 #endif // CONTENT_CHILD_WEB_URL_REQUEST_UTIL_H_ | 78 #endif // CONTENT_CHILD_WEB_URL_REQUEST_UTIL_H_ |
OLD | NEW |