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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 FetchRequestMode GetFetchRequestModeForWebURLRequest( | 49 FetchRequestMode GetFetchRequestModeForWebURLRequest( |
50 const blink::WebURLRequest& request); | 50 const blink::WebURLRequest& request); |
51 FetchCredentialsMode GetFetchCredentialsModeForWebURLRequest( | 51 FetchCredentialsMode GetFetchCredentialsModeForWebURLRequest( |
52 const blink::WebURLRequest& request); | 52 const blink::WebURLRequest& request); |
53 FetchRedirectMode GetFetchRedirectModeForWebURLRequest( | 53 FetchRedirectMode GetFetchRedirectModeForWebURLRequest( |
54 const blink::WebURLRequest& request); | 54 const blink::WebURLRequest& request); |
55 RequestContextFrameType GetRequestContextFrameTypeForWebURLRequest( | 55 RequestContextFrameType GetRequestContextFrameTypeForWebURLRequest( |
56 const blink::WebURLRequest& request); | 56 const blink::WebURLRequest& request); |
57 RequestContextType GetRequestContextTypeForWebURLRequest( | 57 RequestContextType GetRequestContextTypeForWebURLRequest( |
58 const blink::WebURLRequest& request); | 58 const blink::WebURLRequest& request); |
| 59 SkipServiceWorker GetSkipServiceWorkerForWebURLRequest( |
| 60 const blink::WebURLRequest& request); |
59 | 61 |
60 // Generates a WebURLError based on |reason|. | 62 // Generates a WebURLError based on |reason|. |
61 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, | 63 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, |
62 bool stale_copy_in_cache, | 64 bool stale_copy_in_cache, |
63 int reason); | 65 int reason); |
64 | 66 |
65 // Generates a WebURLError based on |reason|. | 67 // Generates a WebURLError based on |reason|. |
66 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, | 68 blink::WebURLError CreateWebURLError(const blink::WebURL& unreachable_url, |
67 bool stale_copy_in_cache, | 69 bool stale_copy_in_cache, |
68 int reason, | 70 int reason, |
69 bool was_ignored_by_handler); | 71 bool was_ignored_by_handler); |
70 | 72 |
71 } // namespace content | 73 } // namespace content |
72 | 74 |
73 #endif // CONTENT_CHILD_WEB_URL_REQUEST_UTIL_H_ | 75 #endif // CONTENT_CHILD_WEB_URL_REQUEST_UTIL_H_ |
OLD | NEW |