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

Unified Diff: chrome/browser/android/banners/app_banner_data_fetcher_android.cc

Issue 1261143004: Implement manifest icon downloader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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/banners/app_banner_data_fetcher_android.cc
diff --git a/chrome/browser/android/banners/app_banner_data_fetcher_android.cc b/chrome/browser/android/banners/app_banner_data_fetcher_android.cc
index cb96a9e7c3b9e1e5a70e52c080e879e2378ee94c..89da6d378f9e8b009bd6335d730c76fa349dcda2 100644
--- a/chrome/browser/android/banners/app_banner_data_fetcher_android.cc
+++ b/chrome/browser/android/banners/app_banner_data_fetcher_android.cc
@@ -32,10 +32,11 @@ bool AppBannerDataFetcherAndroid::ContinueFetching(
const std::string& app_package,
base::android::ScopedJavaLocalRef<jobject> app_data,
const GURL& image_url) {
+ content::WebContents* web_contents = GetWebContents();
set_app_title(app_title);
native_app_package_ = app_package;
native_app_data_.Reset(app_data);
- return FetchIcon(image_url);
+ return FetchAppIcon(web_contents, image_url);
mlamouri (slow - plz ping) 2015/08/21 09:27:11 nit: instead do: return FetchAppIcon(GetWebConte
}
std::string AppBannerDataFetcherAndroid::GetAppIdentifier() {
« no previous file with comments | « no previous file | chrome/browser/android/shortcut_data_fetcher.h » ('j') | chrome/browser/manifest/manifest_icon_downloader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698