| 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 2f0bc2361a08443e4e693079e19133d384cdfbd4..4dd2015904b28e9465fe044cf7f84cf20e4ae17a 100644
|
| --- a/content/browser/web_contents/web_contents_impl.h
|
| +++ b/content/browser/web_contents/web_contents_impl.h
|
| @@ -273,8 +273,8 @@ class CONTENT_EXPORT WebContentsImpl
|
| virtual void DidChooseColorInColorChooser(int color_chooser_id,
|
| SkColor color) OVERRIDE;
|
| virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE;
|
| - virtual int DownloadFavicon(const GURL& url, int image_size,
|
| - const FaviconDownloadCallback& callback) OVERRIDE;
|
| + virtual int DownloadImage(const GURL& url, int image_size,
|
| + const ImageDownloadCallback& callback) OVERRIDE;
|
|
|
| // Implementation of PageNavigator.
|
| virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE;
|
| @@ -571,10 +571,10 @@ class CONTENT_EXPORT WebContentsImpl
|
| const GURL& url,
|
| const base::FilePath& plugin_path);
|
| void OnBrowserPluginMessage(const IPC::Message& message);
|
| - void OnDidDownloadFavicon(int id,
|
| - const GURL& image_url,
|
| - int requested_size,
|
| - const std::vector<SkBitmap>& bitmaps);
|
| + void OnDidDownloadImage(int id,
|
| + const GURL& image_url,
|
| + int requested_size,
|
| + const std::vector<SkBitmap>& bitmaps);
|
| void OnUpdateFaviconURL(int32 page_id,
|
| const std::vector<FaviconURL>& candidates);
|
| void OnFrameDetached(int64 frame_id);
|
| @@ -881,9 +881,9 @@ class CONTENT_EXPORT WebContentsImpl
|
| // Routing id of the shown fullscreen widget or MSG_ROUTING_NONE otherwise.
|
| int fullscreen_widget_routing_id_;
|
|
|
| - // Maps the ids of pending favicon downloads to their callbacks
|
| - typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap;
|
| - FaviconDownloadMap favicon_download_map_;
|
| + // Maps the ids of pending image downloads to their callbacks
|
| + typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
|
| + ImageDownloadMap image_download_map_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
|
| };
|
|
|