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

Side by Side Diff: base/android/java/src/org/chromium/base/TimeUtils.java

Issue 2501193003: Selectively perform JNI registration in render processes on Android. (Closed)
Patch Set: Add @MainDex where it's missing Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.base; 5 package org.chromium.base;
6 6
7 import org.chromium.base.annotations.JNINamespace; 7 import org.chromium.base.annotations.JNINamespace;
8 import org.chromium.base.annotations.MainDex;
8 9
9 /** Time-related utilities. */ 10 /** Time-related utilities. */
10 @JNINamespace("base::android") 11 @JNINamespace("base::android")
12 @MainDex
11 public class TimeUtils { 13 public class TimeUtils {
12 private TimeUtils() {} 14 private TimeUtils() {}
13 15
14 /** Returns TimeTicks::Now() in microseconds. */ 16 /** Returns TimeTicks::Now() in microseconds. */
15 public static native long nativeGetTimeTicksNowUs(); 17 public static native long nativeGetTimeTicksNowUs();
16 } 18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698