Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1996)

Unified Diff: content/test/test_web_contents.cc

Issue 1085783002: Replace image_messages.h with Mojo service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review comments on set7 Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698