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

Unified Diff: components/ntp_snippets/content_suggestions_service.h

Issue 2891103002: [Content suggestions favicons] Let the clients rescale the gfx::Image (Closed)
Patch Set: Created 3 years, 7 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: components/ntp_snippets/content_suggestions_service.h
diff --git a/components/ntp_snippets/content_suggestions_service.h b/components/ntp_snippets/content_suggestions_service.h
index ddd84571739c3390b1d0fdca02e31b32398f14b8..3e501fa95fe8ea08d86bfba83b771bd8c5bc7ff6 100644
--- a/components/ntp_snippets/content_suggestions_service.h
+++ b/components/ntp_snippets/content_suggestions_service.h
@@ -333,6 +333,11 @@ class ContentSuggestionsService : public KeyedService,
// Get the domain of the suggestion suitable for fetching the favicon.
GURL GetFaviconDomain(const ContentSuggestion::ID& suggestion_id);
// Callbacks for fetching favicons.
+ void GetFaviconFromCache(const GURL& publisher_url,
fhorschig 2017/05/19 08:17:45 The comment above seems weird now. Have you been m
jkrcal 2017/05/19 11:36:39 Done.
+ int minimum_size_in_pixel,
+ int desired_size_in_pixel,
+ const ImageFetchedCallback& callback,
+ bool continue_to_google_server);
void OnGetFaviconFromCacheFinished(
const GURL& publisher_url,
int minimum_size_in_pixel,

Powered by Google App Engine
This is Rietveld 408576698