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

Unified Diff: chrome/browser/chromeos/hats/hats_notification_controller.cc

Issue 2757643002: components/image_fetcher: Expose RequestMetadata from ImageFetcher (Closed)
Patch Set: logo_bridge Created 3 years, 9 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: chrome/browser/chromeos/hats/hats_notification_controller.cc
diff --git a/chrome/browser/chromeos/hats/hats_notification_controller.cc b/chrome/browser/chromeos/hats/hats_notification_controller.cc
index 2fb3b74f4fb2d9157fd3b63e74ad3c09c0ee2853..7778407398a553344b1f2f144b7963807d83aba3 100644
--- a/chrome/browser/chromeos/hats/hats_notification_controller.cc
+++ b/chrome/browser/chromeos/hats/hats_notification_controller.cc
@@ -242,8 +242,10 @@ void HatsNotificationController::OnPortalDetectionCompleted(
weak_pointer_factory_.GetWeakPtr()));
}
-void HatsNotificationController::OnImageFetched(const std::string& id,
- const gfx::Image& image) {
+void HatsNotificationController::OnImageFetched(
+ const std::string& id,
+ const gfx::Image& image,
+ const image_fetcher::RequestMetadata& metadata) {
DCHECK(id == kImageFetcher1xId || id == kImageFetcher2xId);
completed_requests_++;

Powered by Google App Engine
This is Rietveld 408576698