Index: chrome/browser/android/webapk/webapk_installer.h |
diff --git a/chrome/browser/android/webapk/webapk_installer.h b/chrome/browser/android/webapk/webapk_installer.h |
index c24a66886f1d919d5d86d9a41f6c0baaeb25b304..de1d268b0afa6582f8da712ee5acb4a1ab7b2ea8 100644 |
--- a/chrome/browser/android/webapk/webapk_installer.h |
+++ b/chrome/browser/android/webapk/webapk_installer.h |
@@ -143,6 +143,12 @@ class WebApkInstaller : public net::URLFetcherDelegate { |
void SendRequest(std::unique_ptr<webapk::WebApk> request_proto, |
const GURL& server_url); |
+ // Called when the package name of the WebAPK is available and with the flag |
+ // "enable-play-install-improved-a2hs" being turned on. |
+ void InstallWebApkFromPlayStore(const std::string& package_name, |
+ int version, |
+ const std::string& token); |
+ |
// Called with the URL of generated WebAPK and the package name that the |
// WebAPK should be installed at. |
void OnGotWebApkDownloadUrl(const GURL& download_url, |