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

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

Issue 2670963002: Android: Fire the appinstalled event on WebAPK installation. (Closed)
Patch Set: Rebase. Created 3 years, 8 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/webapps/add_to_homescreen_manager.h
diff --git a/chrome/browser/android/webapps/add_to_homescreen_manager.h b/chrome/browser/android/webapps/add_to_homescreen_manager.h
index 36de2b12b04ff213115016e358fe7e6bf8f936d7..e18ddaaf1d5acce8112918ad04652fe5792134e6 100644
--- a/chrome/browser/android/webapps/add_to_homescreen_manager.h
+++ b/chrome/browser/android/webapps/add_to_homescreen_manager.h
@@ -10,6 +10,10 @@
#include "base/macros.h"
#include "chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h"
+namespace banners {
+class AppBannerManagerAndroid;
+}
+
namespace content {
class WebContents;
}
@@ -78,6 +82,8 @@ class AddToHomescreenManager : public AddToHomescreenDataFetcher::Observer {
// Whether the site is WebAPK-compatible.
bool is_webapk_compatible_;
+ banners::AppBannerManagerAndroid* app_banner_manager_;
dominickn 2017/04/24 00:56:30 Nit: Add a comment: // Dispatches the oninstall e
Matt Giuca 2017/04/24 01:42:14 Gone.
+
// Fetches data required to add a shortcut.
scoped_refptr<AddToHomescreenDataFetcher> data_fetcher_;

Powered by Google App Engine
This is Rietveld 408576698