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

Unified Diff: content/public/renderer/resource_fetcher.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, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/resource_fetcher.h
diff --git a/content/public/renderer/resource_fetcher.h b/content/public/renderer/resource_fetcher.h
index 64fece51f0464e3dadb6f09da787c26b11089d83..71a12c4c7adfeb47bf50dbbbb70c8f1ae80853f3 100644
--- a/content/public/renderer/resource_fetcher.h
+++ b/content/public/renderer/resource_fetcher.h
@@ -55,7 +55,8 @@ class CONTENT_EXPORT ResourceFetcher {
virtual void SetBody(const std::string& body) = 0;
virtual void SetHeader(const std::string& header,
const std::string& value) = 0;
- virtual void SetSkipServiceWorker(bool skip_service_worker) = 0;
+ virtual void SetSkipServiceWorker(
+ blink::WebURLRequest::SkipServiceWorker skip_service_worker) = 0;
virtual void SetCachePolicy(blink::WebCachePolicy policy) = 0;
// Associate the corresponding WebURLLoaderOptions to the loader. Must be

Powered by Google App Engine
This is Rietveld 408576698