Index: content/public/renderer/resource_fetcher.h |
diff --git a/content/public/renderer/resource_fetcher.h b/content/public/renderer/resource_fetcher.h |
index 5c010f999653a390f4c9d689c71a648afe8c6e37..d0e9062d342c6aaf8d12618ff9764d36f4848e56 100644 |
--- a/content/public/renderer/resource_fetcher.h |
+++ b/content/public/renderer/resource_fetcher.h |
@@ -20,6 +20,7 @@ class TimeDelta; |
namespace blink { |
class WebFrame; |
class WebURLResponse; |
+struct WebURLLoaderOptions; |
} |
namespace content { |
@@ -52,6 +53,11 @@ 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; |
+ |
+ // Associate the corresponding WebURLLoaderOptions to the loader. Must be |
+ // called before Start. Used if the LoaderType is FRAME_ASSOCIATED_LOADER. |
+ virtual void SetLoaderOptions(const blink::WebURLLoaderOptions& options) = 0; |
// Starts the request using the specified frame. Calls |callback| when |
// done. |