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

Unified Diff: chrome/browser/banners/app_banner_manager.cc

Issue 2915913002: [WebAPKs] Display same text for menu & engagement banner (Closed)
Patch Set: Merge branch 'same_infobar_title0' into same_infobar_title Created 3 years, 7 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_manager.cc
diff --git a/chrome/browser/banners/app_banner_manager.cc b/chrome/browser/banners/app_banner_manager.cc
index 79a453dc26ca3f6b4259ff9fa23ca8fafa67255a..329d3663aabad06fa637e79295e67c47dc79e94c 100644
--- a/chrome/browser/banners/app_banner_manager.cc
+++ b/chrome/browser/banners/app_banner_manager.cc
@@ -220,13 +220,6 @@ void AppBannerManager::OnDidGetManifest(const InstallableData& data) {
manifest_url_ = data.manifest_url;
manifest_ = data.manifest;
- // One of manifest_.name or manifest_.short_name must be non-null and
- // non-empty if the error code was NO_ERROR_DETECTED.
- if (manifest_.name.is_null() || manifest_.name.string().empty())
- app_title_ = manifest_.short_name.string();
- else
- app_title_ = manifest_.name.string();
-
PerformInstallableCheck();
}
« chrome/browser/android/shortcut_info.cc ('K') | « chrome/browser/banners/app_banner_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698