Index: base/android/java/src/org/chromium/base/TimeUtils.java |
diff --git a/base/android/java/src/org/chromium/base/TimeUtils.java b/base/android/java/src/org/chromium/base/TimeUtils.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5d98a525e84e71298e5c18e66b1f585cfd34598b |
--- /dev/null |
+++ b/base/android/java/src/org/chromium/base/TimeUtils.java |
@@ -0,0 +1,14 @@ |
+// 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.base; |
+ |
+import org.chromium.base.annotations.JNINamespace; |
+ |
+/** Time-related utilities. */ |
+@JNINamespace("base::android") |
+public class TimeUtils { |
Bernhard Bauer
2016/11/18 11:53:44
Add a private empty constructor to prevent this cl
droger
2016/11/18 13:43:39
Done.
Bernhard Bauer
2016/11/18 14:07:00
Not really?
droger
2016/11/18 15:14:09
Sorry I messed up and this change was not in patch
|
+ /** Returns TimeTicks::Now() in microseconds. */ |
+ public static native long nativeGetTimeTicksNowUs(); |
+} |