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..778cadc38faa0c3201ec67adbd2860ecd485acb6 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 { |
@@ -53,6 +54,10 @@ class CONTENT_EXPORT ResourceFetcher { |
virtual void SetHeader(const std::string& header, |
const std::string& value) = 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. |
virtual void Start(blink::WebFrame* frame, |