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

Unified Diff: chrome/browser/banners/app_banner_data_fetcher.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_manifest 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/banners/app_banner_data_fetcher.h
diff --git a/chrome/browser/banners/app_banner_data_fetcher.h b/chrome/browser/banners/app_banner_data_fetcher.h
index e07d839c480019efb53c7902820a3fd0d6b219e8..83ef5d96a36b27218b233a1b4bc3aa89b0a7554c 100644
--- a/chrome/browser/banners/app_banner_data_fetcher.h
+++ b/chrome/browser/banners/app_banner_data_fetcher.h
@@ -164,8 +164,9 @@ class AppBannerDataFetcher : public base::RefCountedThreadSafe<
// heuristic allowed.
void RecordCouldShowBanner();
- // Creates a banner for the app using the given |icon|.
- virtual void ShowBanner(const SkBitmap* icon,
+ // Creates a banner for the app using the given icon.
+ virtual void ShowBanner(const GURL& icon_url,
+ const SkBitmap* icon,
const base::string16& title,
const std::string& referrer) = 0;
@@ -192,6 +193,7 @@ class AppBannerDataFetcher : public base::RefCountedThreadSafe<
const bool is_debug_mode_;
ui::PageTransition transition_type_;
int event_request_id_;
+ GURL app_icon_url_;
std::unique_ptr<SkBitmap> app_icon_;
std::string referrer_;

Powered by Google App Engine
This is Rietveld 408576698