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

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

Issue 2223443002: Fix WebApkInstaller so that it can talk to the server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_builder_impl3 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 773a3fdec81429060c8458fee36a72e868dfb8f8..094202d5f32696da024602ca88c1eb07f6db8b5d 100644
--- a/chrome/browser/android/webapk/webapk.proto
+++ b/chrome/browser/android/webapk/webapk.proto
@@ -8,35 +8,32 @@ option optimize_for = LITE_RUNTIME;
package webapk;
-// Creates a WebAPK on the server and returns URL to download WebAPK from Google
-// Play.
-message CreateWebApkRequest {
- optional WebApk webapk = 1;
-}
-
-// Response to CreateWebApkRequest.
-message CreateWebApkResponse {
+// Response to "create" request.
+message WebApkResponse {
// Package name to install WebAPK at.
- optional string webapk_package_name = 1;
+ optional string package_name = 1;
// URL to download WebAPK.
- optional string signed_download_url = 2;
+ optional string signed_download_url = 3;
+
+ reserved 2, 4;
}
+// Sent as part of request to create a WebAPK.
message WebApk {
// The URL of the Web App Manifest.
- optional string manifest_url = 2;
+ optional string manifest_url = 3;
// Chrome's package name.
- optional string requester_application_package = 4;
+ optional string requester_application_package = 5;
// Chrome's version.
- optional string requester_application_version = 5;
+ optional string requester_application_version = 6;
// The Web App Manifest.
- optional WebAppManifest manifest = 6;
+ optional WebAppManifest manifest = 7;
- reserved 1, 3;
+ reserved 1, 2, 4;
}
// Contains data from the Web App Manifest.
@@ -60,7 +57,7 @@ message Image {
// Murmur2 hash of the icon's bytes. There should not be any transformations
// applied to the icon's bytes prior to taking the Murmur2 hash.
- optional uint64 hash = 5;
+ optional string hash = 5;
// Actual bytes of the image. This image may be re-encoded from the original
// image and may not match the murmur2 hash field above.
« no previous file with comments | « no previous file | chrome/browser/android/webapk/webapk_installer.h » ('j') | chrome/browser/android/webapk/webapk_installer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698