summaryrefslogtreecommitdiffstats
path: root/chromium/base/android/event_log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/android/event_log.cc')
-rw-r--r--chromium/base/android/event_log.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/base/android/event_log.cc b/chromium/base/android/event_log.cc
new file mode 100644
index 00000000000..7f99d66b131
--- /dev/null
+++ b/chromium/base/android/event_log.cc
@@ -0,0 +1,16 @@
+// Copyright 2013 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/android/event_log.h"
+#include "base/base_jni_headers/EventLog_jni.h"
+
+namespace base {
+namespace android {
+
+void EventLogWriteInt(int tag, int value) {
+ Java_EventLog_writeEvent(AttachCurrentThread(), tag, value);
+}
+
+} // namespace android
+} // namespace base