| 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";
|
| + }
|
| +}
|
|
|