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

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

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Blink style. Created 4 years 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 1832771e6918ba0f683628780dc67f054b8171f7..155f05951bd2d6df2b66c268c333998e6bc0f6fb 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;
@@ -77,6 +78,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_;
dominickn 2016/12/09 06:08:17 Doesn't need to be a member, use a local variable
Matt Giuca 2016/12/12 04:28:19 Acknowledged.
+
DISALLOW_COPY_AND_ASSIGN(AddToHomescreenManager);
};

Powered by Google App Engine
This is Rietveld 408576698