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

Unified Diff: chrome/android/webapk/shell_apk/shell_apk_version.gni

Issue 2827233006: [WebAPKs] Make WebAPK update flow more sensible (Closed)
Patch Set: Merge branch 'master' into version Created 3 years, 8 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 | « chrome/android/webapk/shell_apk/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/webapk/shell_apk/shell_apk_version.gni
diff --git a/chrome/android/webapk/shell_apk/shell_apk_version.gni b/chrome/android/webapk/shell_apk/shell_apk_version.gni
index 46d2071059ad74cfdb0e9b083e92f6651a5bff65..0ab0b69c4d3c46d17cf39b89785f984184fa366e 100644
--- a/chrome/android/webapk/shell_apk/shell_apk_version.gni
+++ b/chrome/android/webapk/shell_apk/shell_apk_version.gni
@@ -3,5 +3,12 @@
# found in the LICENSE file.
# Must be incremented whenever code in //chrome/android/webapk/shell_apk
-# (including AndroidManifest.xml) is updated.
-shell_apk_version = 3
+# (including AndroidManifest.xml) is updated. This version should be incremented
+# prior to uploading a new ShellAPK to the WebAPK Minting Server.
+template_shell_apk_version = 3
Xi Han 2017/04/24 13:41:13 How about |shell_apk_template_version_in_Chrome|?
pkotwicz 2017/04/25 01:15:31 I have renamed this to shell_apk_template_version_
Xi Han 2017/04/25 13:58:24 The template is first updated in Chrome, and then
pkotwicz 2017/04/25 22:29:33 I have reverted to the previous variable name Thi
Xi Han 2017/04/26 01:08:15 Thanks for the explanation:)
+
+# The ShellAPK version expected by the browser. Chrome will try to update the
+# WebAPK if the WebAPK's ShellAPK version is less than
+# |expected_shell_apk_version|. The version should be incremented after a new
+# ShellAPK has been uploaded to the WebAPK Minting Server.
+expected_shell_apk_version = 3
Xi Han 2017/04/24 13:41:13 Can we rename it to |shell_apk_template_version_on
pkotwicz 2017/04/25 01:15:31 I have renamed this to shell_apk_version_expected_
Xi Han 2017/04/25 13:58:23 I would prefer your previous version than this one
« no previous file with comments | « chrome/android/webapk/shell_apk/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698