Avi Drissman | e4622aa | 2022-09-08 20:36:06 | [diff] [blame] | 1 | // Copyright 2013 The Chromium Authors |
[email protected] | 8693653 | 2014-06-12 08:36:08 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include "base/android/event_log.h" | ||||
Andrew Grieve | ecb885bb | 2024-05-29 18:14:19 | [diff] [blame] | 6 | |
7 | // Must come after all headers that specialize FromJniType() / ToJniType(). | ||||
Andrew Grieve | 1c7dbda | 2023-05-26 15:34:55 | [diff] [blame] | 8 | #include "base/base_jni/EventLog_jni.h" |
[email protected] | 8693653 | 2014-06-12 08:36:08 | [diff] [blame] | 9 | |
10 | namespace base { | ||||
11 | namespace android { | ||||
12 | |||||
13 | void EventLogWriteInt(int tag, int value) { | ||||
Sam Maier | 7fe12c1 | 2024-01-26 19:22:43 | [diff] [blame] | 14 | Java_EventLog_writeEvent(jni_zero::AttachCurrentThread(), tag, value); |
[email protected] | 8693653 | 2014-06-12 08:36:08 | [diff] [blame] | 15 | } |
16 | |||||
[email protected] | 8693653 | 2014-06-12 08:36:08 | [diff] [blame] | 17 | } // namespace android |
18 | } // namespace base |