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

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..db954eccdaf52c7742288560e772821cdab7c07b 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 "web_apk" + version + ".dex";
Xi Han 2016/05/26 21:40:23 I think we need to change it to "webapk".
+ }
}

Powered by Google App Engine
This is Rietveld 408576698