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

Unified Diff: chrome/browser/android/webapk/webapk.proto

Issue 2184913005: Add calls to the server to request WebAPK updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WebAPK no longer owns a ManifestUpgradeDetector and rebase on "worker thread" CL. Created 4 years, 4 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/webapk/webapk.proto
diff --git a/chrome/browser/android/webapk/webapk.proto b/chrome/browser/android/webapk/webapk.proto
index 094202d5f32696da024602ca88c1eb07f6db8b5d..0aad95a0d0ef47b5ffb582a3cc82d8858b93c045 100644
--- a/chrome/browser/android/webapk/webapk.proto
+++ b/chrome/browser/android/webapk/webapk.proto
@@ -8,19 +8,28 @@ option optimize_for = LITE_RUNTIME;
package webapk;
-// Response to "create" request.
+// Response after creating or updating a WebAPK.
message WebApkResponse {
// Package name to install WebAPK at.
optional string package_name = 1;
+ // Version code of the WebAPK.
+ optional string version = 2;
+
// URL to download WebAPK.
optional string signed_download_url = 3;
- reserved 2, 4;
+ reserved 4;
}
-// Sent as part of request to create a WebAPK.
+// Sent as part of request to create or update a WebAPK.
message WebApk {
+ // Package name of the WebAPK.
+ optional string package_name = 1;
+
+ // Version code of the WebAPK.
+ optional string version = 2;
+
// The URL of the Web App Manifest.
optional string manifest_url = 3;
@@ -33,7 +42,7 @@ message WebApk {
// The Web App Manifest.
optional WebAppManifest manifest = 7;
- reserved 1, 2, 4;
+ reserved 4;
}
// Contains data from the Web App Manifest.

Powered by Google App Engine
This is Rietveld 408576698