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

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

Issue 2009423002: Upstream: Version WebAPK runtime library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkUtils.java
diff --git a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkUtils.java b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkUtils.java
index ed92cd321ee88432bd630dae39975ee1bd48f097..abb3a92c6e2dbbae04fca838c0881013eb106150 100644
--- a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkUtils.java
+++ b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkUtils.java
@@ -58,4 +58,13 @@ public class WebApkUtils {
sHostPackage = hostPackage != null ? hostPackage : "";
return sHostPackage;
}
+
+ /**
+ * Returns name of "Runtime Dex" asset in Chrome APK based on version.
+ * @param version
+ * @return Dex asset name.
+ */
+ public static String getRuntimeDexName(int version) {
+ return "webapk" + version + ".dex";
+ }
}

Powered by Google App Engine
This is Rietveld 408576698