Index: base/android/java/src/org/chromium/base/EventLog.java |
diff --git a/base/android/java/src/org/chromium/base/EventLog.java b/base/android/java/src/org/chromium/base/EventLog.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..894de15bc7ad0b87c0269c5d0120f6913a51c7f8 |
--- /dev/null |
+++ b/base/android/java/src/org/chromium/base/EventLog.java |
@@ -0,0 +1,17 @@ |
+// 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.base; |
+ |
+/** |
+ * A simple interface to Android's EventLog to be used by native code. |
+ */ |
+@JNINamespace("base::android") |
+public class EventLog { |
+ |
+ @CalledByNative |
+ public static void writeEvent(int tag, int value) { |
+ android.util.EventLog.writeEvent(tag, value); |
+ } |
+} |