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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_bridge.h

Issue 2781583002: [Content suggestions] Add a function to the service API to fetch favicons (Closed)
Patch Set: Fix compilation #2 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/android/ntp/ntp_snippets_bridge.h
diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.h b/chrome/browser/android/ntp/ntp_snippets_bridge.h
index be7f42f1459b695c4272e8103f02a491a192b0a7..1789613256a6f397d345a459f1135d25e73a1d52 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.h
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.h
@@ -60,6 +60,15 @@ class NTPSnippetsBridge
const base::android::JavaParamRef<jstring>& id_within_category,
const base::android::JavaParamRef<jobject>& j_callback);
+ void FetchSuggestionFavicon(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ jint j_category_id,
+ const base::android::JavaParamRef<jstring>& id_within_category,
+ jint j_minimum_size_px,
+ jint j_desired_size_px,
+ const base::android::JavaParamRef<jobject>& j_callback);
+
void Fetch(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,

Powered by Google App Engine
This is Rietveld 408576698