Index: content/renderer/fetchers/resource_fetcher_impl.h |
diff --git a/content/renderer/fetchers/resource_fetcher_impl.h b/content/renderer/fetchers/resource_fetcher_impl.h |
index 8064c1a28094abea73a0336270553a8eae46b3c0..3dae2f2a0b364a770ef124b27c9ae8fe8d79af74 100644 |
--- a/content/renderer/fetchers/resource_fetcher_impl.h |
+++ b/content/renderer/fetchers/resource_fetcher_impl.h |
@@ -16,6 +16,7 @@ |
#include "content/renderer/fetchers/web_url_loader_client_impl.h" |
#include "third_party/WebKit/public/platform/WebURLRequest.h" |
#include "third_party/WebKit/public/platform/WebURLResponse.h" |
+#include "third_party/WebKit/public/web/WebURLLoaderOptions.h" |
class GURL; |
@@ -23,6 +24,7 @@ namespace blink { |
class WebFrame; |
class WebURLLoader; |
struct WebURLError; |
+struct WebURLLoaderOptions; |
tyoshino (SeeGerritForStatus)
2015/01/14 04:09:41
Remove?
mlamouri (slow - plz ping)
2015/01/14 14:31:17
Indeed. WebURLError too ;)
|
} |
namespace content { |
@@ -34,6 +36,8 @@ class ResourceFetcherImpl : public ResourceFetcher, |
void SetMethod(const std::string& method) override; |
void SetBody(const std::string& body) override; |
void SetHeader(const std::string& header, const std::string& value) override; |
+ void SetSkipServiceWorker(bool skip_service_worker) override; |
+ void SetLoaderOptions(const blink::WebURLLoaderOptions& options) override; |
void Start(blink::WebFrame* frame, |
blink::WebURLRequest::RequestContext request_context, |
blink::WebURLRequest::FrameType frame_type, |
@@ -58,6 +62,9 @@ class ResourceFetcherImpl : public ResourceFetcher, |
scoped_ptr<blink::WebURLLoader> loader_; |
+ // Options to send to the loader. |
+ blink::WebURLLoaderOptions options_; |
+ |
// Request to send. Released once Start() is called. |
blink::WebURLRequest request_; |