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

Unified Diff: chrome/android/webapk/shell_apk/BUILD.gn

Issue 2684373002: Enable opening http://localhost WebAPK in WebAPK mode (Closed)
Patch Set: 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 | « chrome/android/webapk/shell_apk/AndroidManifest.xml ('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/BUILD.gn
diff --git a/chrome/android/webapk/shell_apk/BUILD.gn b/chrome/android/webapk/shell_apk/BUILD.gn
index c400c2d7c4dcc850306ce5660b3b53b95c6f7b48..7ecd6f6cbf97bc4a588702187eff7ae4f7cb93e2 100644
--- a/chrome/android/webapk/shell_apk/BUILD.gn
+++ b/chrome/android/webapk/shell_apk/BUILD.gn
@@ -32,6 +32,9 @@ declare_args() {
webapk_background_color = "2147483648L" #HostBrowserLauncher#MANIFEST_COLOR_INVALID_OR_MISSING
webapk_icon_urls_and_icon_murmur2_hashes = "http://www.template.com/icon1.png $webapk_icon_murmur2_hash http://www.template.com/icon2.png $webapk_icon_murmur2_hash"
+ # Scheme part of |webapk_scope_url|.
+ webapk_scope_url_scheme = "https"
+
# Host part of |webapk_scope_url|.
webapk_scope_url_host = "www.template.com"
@@ -67,6 +70,7 @@ jinja_template("shell_apk_manifest") {
"theme_color=$webapk_theme_color",
"background_color=$webapk_background_color",
"icon_urls_and_icon_murmur2_hashes=$webapk_icon_urls_and_icon_murmur2_hashes",
+ "scope_url_scheme=$webapk_scope_url_scheme",
"scope_url_host=$webapk_scope_url_host",
"scope_url_path=$webapk_scope_url_path",
"web_manifest_url=$webapk_web_manifest_url",
« no previous file with comments | « chrome/android/webapk/shell_apk/AndroidManifest.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698