blob: 8ce853078cf9dd789704ac6fa0952a6e3b98428c [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.net.impl;
// Version based on chrome/VERSION.
public class ImplVersion {
private static final String CRONET_VERSION = "110.0.5481.154";
private static final int API_LEVEL = 23;
private static final String LAST_CHANGE = "@LASTCHANGE@";
/**
* Private constructor. All members of this class should be static.
*/
private ImplVersion() {}
public static String getCronetVersionWithLastChange() {
return CRONET_VERSION + "@" + LAST_CHANGE.substring(0, 8);
}
public static int getApiLevel() {
return API_LEVEL;
}
public static String getCronetVersion() {
return CRONET_VERSION;
}
public static String getLastChange() {
return LAST_CHANGE;
}
}