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

Unified Diff: chrome/browser/android/webapk/webapk_installer.h

Issue 2515293004: Chrome talks to Play to install WebAPKs. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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/webapk/webapk_installer.h
diff --git a/chrome/browser/android/webapk/webapk_installer.h b/chrome/browser/android/webapk/webapk_installer.h
index c24a66886f1d919d5d86d9a41f6c0baaeb25b304..f25e4d2c1d30592a1874e1c6cf2f2c3a3a906719 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 the install
+ // request goes through Play Store.
+ 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,

Powered by Google App Engine
This is Rietveld 408576698