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

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

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Minor refactor. Created 4 years, 2 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 ee93df0b883486f1328f6af61b2b71a886fe8b5a..4d830e9eff43798209401502d03ccc13ac1060f0 100644
--- a/chrome/browser/android/webapps/add_to_homescreen_manager.h
+++ b/chrome/browser/android/webapps/add_to_homescreen_manager.h
@@ -9,6 +9,7 @@
#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
#include "chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h"
+#include "third_party/WebKit/public/platform/modules/installation/installation.mojom.h"
namespace content {
class WebContents;
@@ -81,6 +82,9 @@ class AddToHomescreenManager : public AddToHomescreenDataFetcher::Observer {
// Fetches data required to add a shortcut.
scoped_refptr<AddToHomescreenDataFetcher> data_fetcher_;
+ // Service to send events to the renderer.
+ blink::mojom::InstallationServicePtr installation_service_;
+
DISALLOW_COPY_AND_ASSIGN(AddToHomescreenManager);
};

Powered by Google App Engine
This is Rietveld 408576698