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

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

Issue 2632243004: Don't download identical APKs on update. (Closed)
Patch Set: Nits. Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/android/webapk/webapk_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapk/webapk.proto
diff --git a/chrome/browser/android/webapk/webapk.proto b/chrome/browser/android/webapk/webapk.proto
index b53e1a3253971c6ae75c0d5b8395c919420b36bc..27fc96b0842a89ebad031e709b97ba27c5b6126d 100644
--- a/chrome/browser/android/webapk/webapk.proto
+++ b/chrome/browser/android/webapk/webapk.proto
@@ -16,7 +16,11 @@ message WebApkResponse {
// Version code of the WebAPK.
optional string version = 2;
- // URL to download WebAPK.
+ // URL to download WebAPK. If the URL is empty, the client should not attempt
+ // to download or install anything. For example, this may be empty when the
+ // client requests an update even though no content has changed. The WebAPK
+ // server can then let the client know that it is up-to-date already and does
+ // not need to spend bandwidth re-downloading a WebAPK it has.
optional string signed_download_url = 3;
// Unique id identifying session with WebAPK server.
« no previous file with comments | « no previous file | chrome/browser/android/webapk/webapk_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698