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

Unified Diff: chrome/browser/android/banners/app_banner_infobar_delegate_android.h

Issue 2064943002: Pass in extra parameters to WebApkBuilder#buildWebApkAsync() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_manifest000 Created 4 years, 6 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_infobar_delegate_android.h
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
index 026f4b8d784642d89811d4d41ead4c367fee760d..d036a48bf9849be5141f36f090b41dca920e543e 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
@@ -34,8 +34,10 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
int event_request_id,
scoped_refptr<AppBannerDataFetcherAndroid> data_fetcher,
const base::string16& app_title,
+ const GURL& app_icon_url,
SkBitmap* app_icon,
- const content::Manifest& web_app_data);
+ const GURL& manifest_url,
+ const content::Manifest& manifest);
// Delegate for promoting an Android app.
AppBannerInfoBarDelegateAndroid(
@@ -83,10 +85,12 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
scoped_refptr<AppBannerDataFetcherAndroid> data_fetcher_;
base::string16 app_title_;
+ GURL app_icon_url_;
std::unique_ptr<SkBitmap> app_icon_;
int event_request_id_;
- content::Manifest web_app_data_;
+ GURL manifest_url_;
+ content::Manifest manifest_;
base::android::ScopedJavaGlobalRef<jobject> native_app_data_;
std::string native_app_package_;

Powered by Google App Engine
This is Rietveld 408576698