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

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

Issue 2671653002: Webapps: Clear AppBannerManagerAndroid::native_app_data_ prior to native app check (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/banners/app_banner_manager_android.cc
diff --git a/chrome/browser/android/banners/app_banner_manager_android.cc b/chrome/browser/android/banners/app_banner_manager_android.cc
index 8ae8d3c3811869b3aaf3cf342be763678a4dab16..1849a91f3f13e164346294950f2f375b4b618106 100644
--- a/chrome/browser/android/banners/app_banner_manager_android.cc
+++ b/chrome/browser/android/banners/app_banner_manager_android.cc
@@ -158,6 +158,9 @@ bool AppBannerManagerAndroid::IsWebAppInstalled(
}
void AppBannerManagerAndroid::PerformInstallableCheck() {
+ native_app_data_.Reset();
dominickn 2017/02/02 06:53:38 We should implement this correctly first up rather
+ native_app_package_ = "";
+
// Check if the manifest prefers that we show a native app banner. If so, call
// to Java to verify the details.
if (manifest_.prefer_related_applications &&
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698