Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: content/child/web_url_request_util.h

Issue 2105503002: Skip foreign fetch when the skipServiceWorker flag is set on a request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rephrase SkipServiceWorker comments. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698