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

Side by Side Diff: content/child/web_url_loader_impl.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/request_info.cc ('k') | content/child/web_url_loader_impl.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_LOADER_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ~WebURLLoaderImpl() override; 43 ~WebURLLoaderImpl() override;
44 44
45 static void PopulateURLResponse(const GURL& url, 45 static void PopulateURLResponse(const GURL& url,
46 const ResourceResponseInfo& info, 46 const ResourceResponseInfo& info,
47 blink::WebURLResponse* response, 47 blink::WebURLResponse* response,
48 bool report_security_info); 48 bool report_security_info);
49 static void PopulateURLRequestForRedirect( 49 static void PopulateURLRequestForRedirect(
50 const blink::WebURLRequest& request, 50 const blink::WebURLRequest& request,
51 const net::RedirectInfo& redirect_info, 51 const net::RedirectInfo& redirect_info,
52 blink::WebReferrerPolicy referrer_policy, 52 blink::WebReferrerPolicy referrer_policy,
53 bool skip_service_worker, 53 blink::WebURLRequest::SkipServiceWorker skip_service_worker,
54 blink::WebURLRequest* new_request); 54 blink::WebURLRequest* new_request);
55 55
56 // WebURLLoader methods: 56 // WebURLLoader methods:
57 void loadSynchronously( 57 void loadSynchronously(
58 const blink::WebURLRequest& request, 58 const blink::WebURLRequest& request,
59 blink::WebURLResponse& response, 59 blink::WebURLResponse& response,
60 blink::WebURLError& error, 60 blink::WebURLError& error,
61 blink::WebData& data) override; 61 blink::WebData& data) override;
62 void loadAsynchronously( 62 void loadAsynchronously(
63 const blink::WebURLRequest& request, 63 const blink::WebURLRequest& request,
(...skipping 14 matching lines...) Expand all
78 class Context; 78 class Context;
79 class RequestPeerImpl; 79 class RequestPeerImpl;
80 scoped_refptr<Context> context_; 80 scoped_refptr<Context> context_;
81 81
82 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); 82 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl);
83 }; 83 };
84 84
85 } // namespace content 85 } // namespace content
86 86
87 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 87 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/request_info.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698