| Index: content/test/test_web_contents.cc
|
| diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc
|
| index 849950eacabfd81c6119e0477d5c4003be02eb2c..e8a46f2bfa30123e5a6d8cca4959657e15212458 100644
|
| --- a/content/test/test_web_contents.cc
|
| +++ b/content/test/test_web_contents.cc
|
| @@ -64,6 +64,15 @@ TestRenderFrameHost* TestWebContents::GetPendingMainFrame() const {
|
| GetRenderManager()->pending_frame_host());
|
| }
|
|
|
| +int TestWebContents::DownloadImage(const GURL& url,
|
| + bool is_favicon,
|
| + uint32_t max_bitmap_size,
|
| + bool bypass_cache,
|
| + const ImageDownloadCallback& callback) {
|
| + static int g_next_image_download_id = 0;
|
| + return ++g_next_image_download_id;
|
| +}
|
| +
|
| void TestWebContents::TestDidNavigate(RenderFrameHost* render_frame_host,
|
| int page_id,
|
| int nav_entry_id,
|
|
|