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

Unified Diff: chrome/browser/android/webapps/add_to_homescreen_manager.cc

Issue 2957473002: [WebAPKs] Display same text for menu & engagement banner v2 (Closed)
Patch Set: Merge branch 'master' into same_infobar_title000 Created 3 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
« no previous file with comments | « chrome/browser/android/banners/app_banner_manager_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapps/add_to_homescreen_manager.cc
diff --git a/chrome/browser/android/webapps/add_to_homescreen_manager.cc b/chrome/browser/android/webapps/add_to_homescreen_manager.cc
index f5e8ecd5d1d356a2a1960bf2153a6acfbfac0b65..bba4d5df7b038b275cd52e7dee6ee8db0c849e62 100644
--- a/chrome/browser/android/webapps/add_to_homescreen_manager.cc
+++ b/chrome/browser/android/webapps/add_to_homescreen_manager.cc
@@ -176,7 +176,7 @@ void AddToHomescreenManager::CreateInfoBarForWebApk(
banners::AppBannerManagerAndroid* app_banner_manager =
banners::AppBannerManagerAndroid::FromWebContents(web_contents);
banners::AppBannerInfoBarDelegateAndroid::Create(
- web_contents, app_banner_manager->GetWeakPtr(), info.user_title,
+ web_contents, app_banner_manager->GetWeakPtr(),
base::MakeUnique<ShortcutInfo>(info), primary_icon, badge_icon,
-1 /* event_request_id */, true /* is_webapk */,
webapk::INSTALL_SOURCE_MENU);
« no previous file with comments | « chrome/browser/android/banners/app_banner_manager_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698