Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 75b0bd2b1052f6518bb7f32aa6e4a7647e2f0920..a5f632ec0c7a29c5ab55c488c22390854f9251c9 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -820,6 +820,12 @@ class CONTENT_EXPORT WebContentsImpl |
// all the unique RenderWidgetHostViews. |
std::set<RenderWidgetHostView*> GetRenderWidgetHostViewsInTree(); |
+ // Called with the result of a DownloadImage() request. |
+ void OnDidDownloadImage(const ImageDownloadCallback& callback, |
+ int id, |
+ const GURL& image_url, |
+ image_downloader::DownloadResultPtr result); |
+ |
// Callback function when showing JavaScript dialogs. Takes in a routing ID |
// pair to identify the RenderFrameHost that opened the dialog, because it's |
// possible for the RenderFrameHost to be deleted by the time this is called. |
@@ -1310,6 +1316,7 @@ class CONTENT_EXPORT WebContentsImpl |
bool page_scale_factor_is_one_; |
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
+ base::WeakPtrFactory<WebContentsImpl> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
}; |