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

Unified Diff: content/test/test_web_contents.h

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.h
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
index 798a54d9540a8d58f99ad5746601def9abd7cbee..fd3a3be4656923a41e94010349f0aa91be1e3cf6 100644
--- a/content/test/test_web_contents.h
+++ b/content/test/test_web_contents.h
@@ -35,6 +35,12 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
// WebContentsImpl overrides (returning the same values, but in Test* types)
TestRenderFrameHost* GetMainFrame() override;
TestRenderViewHost* GetRenderViewHost() const override;
+ // Overrides to avoid establishing Mojo connection with renderer process.
+ int DownloadImage(const GURL& url,
+ bool is_favicon,
+ uint32_t max_bitmap_size,
+ bool bypass_cache,
+ const ImageDownloadCallback& callback) override;
// WebContentsTester implementation.
void CommitPendingNavigation() override;

Powered by Google App Engine
This is Rietveld 408576698