Index: content/renderer/image_loading_helper.h |
diff --git a/content/renderer/image_loading_helper.h b/content/renderer/image_loading_helper.h |
index 185f3b7e4f1db53bd9f8c4ebb5f3da7d8721b0b5..292fe4b2e351c0b0816a9f1d5952c918a925e9d8 100644 |
--- a/content/renderer/image_loading_helper.h |
+++ b/content/renderer/image_loading_helper.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/scoped_vector.h" |
#include "content/public/renderer/render_frame_observer.h" |
+#include "third_party/WebKit/public/platform/WebURLRequest.h" |
#include "url/gurl.h" |
class SkBitmap; |
@@ -31,7 +32,8 @@ class ImageLoadingHelper : public RenderFrameObserver { |
void OnDownloadImage(int id, |
const GURL& image_url, |
bool is_favicon, |
- uint32_t max_image_size); |
+ uint32_t max_image_size, |
+ blink::WebURLRequest::CachePolicy cache_policy); |
// Requests to download an image. When done, the ImageLoadingHelper |
// is notified by way of DidDownloadImage. Returns true if the |
@@ -46,7 +48,8 @@ class ImageLoadingHelper : public RenderFrameObserver { |
bool DownloadImage(int id, |
const GURL& image_url, |
bool is_favicon, |
- uint32_t max_image_size); |
+ uint32_t max_image_size, |
+ blink::WebURLRequest::CachePolicy cache_policy); |
// This callback is triggered when DownloadImage completes, either |
// succesfully or with a failure. See DownloadImage for more |