Index: components/cronet/android/java/src/org/chromium/net/Version.template |
diff --git a/components/cronet/android/java/src/org/chromium/net/Version.template b/components/cronet/android/java/src/org/chromium/net/Version.template |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0bf32dbdf30ed05ba53ef600d65276e2b65c5373 |
--- /dev/null |
+++ b/components/cronet/android/java/src/org/chromium/net/Version.template |
@@ -0,0 +1,15 @@ |
+// Copyright 2014 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.net; |
+ |
+// Version based on chrome/VERSION. |
+public class Version { |
+ public static final String CRONET_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"; |
+ public static final String LAST_CHANGE = "@LASTCHANGE@"; |
+ |
+ public static String getVersion() { |
+ return CRONET_VERSION + "@" + LAST_CHANGE; |
+ } |
+} |