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

Unified Diff: content/renderer/image_downloader/image_downloader_impl.h

Issue 2538853002: Media Remoting: Draw remoting interstitial on poster image. (Closed)
Patch Set: Created 4 years, 1 month 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/renderer/image_downloader/image_downloader_impl.h
diff --git a/content/renderer/image_downloader/image_downloader_impl.h b/content/renderer/image_downloader/image_downloader_impl.h
index 310ed0384c7f409b06f29a03589172fdef3cb6e9..0466300849e1bbcf5a4b30899c35d8d0a69a9e42 100644
--- a/content/renderer/image_downloader/image_downloader_impl.h
+++ b/content/renderer/image_downloader/image_downloader_impl.h
@@ -32,6 +32,7 @@ class ImageDownloaderImpl : public mojom::ImageDownloader,
public RenderFrameObserver,
public RenderThreadObserver {
public:
+ ImageDownloaderImpl(RenderFrame* render_frame);
miu 2016/11/29 22:56:08 Need explicit keyword here.
xjz 2016/12/02 19:23:10 Not applicable.
~ImageDownloaderImpl() override;
static void CreateMojoService(RenderFrame* render_frame,
@@ -40,6 +41,12 @@ class ImageDownloaderImpl : public mojom::ImageDownloader,
// RenderThreadObserver implementation.
void OnRenderProcessShutdown() override;
+ void DownloadImage(const GURL& url,
+ bool is_favicon,
+ uint32_t max_bitmap_size,
+ bool bypass_cache,
+ const DownloadImageCallback& callback) override;
+
private:
ImageDownloaderImpl(RenderFrame* render_frame,
mojom::ImageDownloaderRequest request);
@@ -47,13 +54,6 @@ class ImageDownloaderImpl : public mojom::ImageDownloader,
// RenderFrameObserver implementation.
void OnDestruct() override;
- // ImageDownloader methods:
- void DownloadImage(const GURL& url,
- bool is_favicon,
- uint32_t max_bitmap_size,
- bool bypass_cache,
- const DownloadImageCallback& callback) override;
-
// Requests to fetch an image. When done, the ImageDownloaderImpl
// is notified by way of DidFetchImage. Returns true if the
// request was successfully started, false otherwise.

Powered by Google App Engine
This is Rietveld 408576698