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

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

Issue 2149873002: Move most of WebApkUtils' methods from webapk.lib.common to webapk.shell_apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/WebApkVersionUtils.java
diff --git a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkVersionUtils.java b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkVersionUtils.java
new file mode 100644
index 0000000000000000000000000000000000000000..c9838b25d301fd2acd5e2992f60d5dac9bd2635f
--- /dev/null
+++ b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkVersionUtils.java
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.webapk.lib.common;
+
+/**
+ * Contains versioning utility methods.
+ */
+public class WebApkVersionUtils {
+ /**
+ * 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