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

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

Issue 2824193002: Enable use_once_callback for //content/common/*.mojom (Closed)
Patch Set: rebase Created 3 years, 8 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/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 f9cfb63858e0dfe57f27bb0e847cbc5299f483b4..e244dc44ec485dd337b36ba0cb3c3b189e077691 100644
--- a/content/renderer/image_downloader/image_downloader_impl.h
+++ b/content/renderer/image_downloader/image_downloader_impl.h
@@ -31,7 +31,7 @@ class ImageDownloaderImpl : public mojom::ImageDownloader,
bool is_favicon,
uint32_t max_bitmap_size,
bool bypass_cache,
- const DownloadImageCallback& callback) override;
+ DownloadImageCallback callback) override;
// Called when downloading finishes. All frames in |images| whose size <=
// |max_image_size| will be returned through |callback|. If all of the frames
@@ -39,7 +39,7 @@ class ImageDownloaderImpl : public mojom::ImageDownloader,
// |max_image_size| and is the only result. |max_image_size| == 0 is
// interpreted as no max image size.
void DidDownloadImage(uint32_t max_bitmap_size,
- const DownloadImageCallback& callback,
+ DownloadImageCallback callback,
int32_t http_status_code,
const std::vector<SkBitmap>& images);
« no previous file with comments | « content/public/test/mock_render_thread.cc ('k') | content/renderer/image_downloader/image_downloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698