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

Unified Diff: chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java

Issue 2858563004: Add support for webapk without runtimeHost (Closed)
Patch Set: Nits. Created 3 years, 6 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/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
diff --git a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
index 7aaa4604be72c92415bd33cd51ac8e588d65db19..45b6a2c34c6c501c79f92a5be93ad2248dedd264 100644
--- a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
+++ b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkConstants.java
@@ -24,7 +24,12 @@ public final class WebApkConstants {
public static final String EXTRA_WEBAPK_FORCE_NAVIGATION =
"org.chromium.chrome.browser.webapk_force_navigation";
+ public static final String DEFAULT_HOST_BROWSER = "com.android.chrome";
+
// Must be kept in sync with chrome/browser/android/shortcut_info.h.
public static final int SHORTCUT_SOURCE_UNKNOWN = 0;
public static final int SHORTCUT_SOURCE_EXTERNAL_INTENT = 9;
+
+ /** Name of the shared preferences file. */
+ public static final String PREF_PACKAGE = "org.chromium.webapk.shell_apk";
}
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698