Avi Drissman | e4622aa | 2022-09-08 20:36:06 | [diff] [blame] | 1 | // Copyright 2015 The Chromium Authors |
michaelbai | 842c972d | 2015-01-28 21:40:36 | [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 | #ifndef BASE_ANDROID_BASE_JNI_ONLOAD_H_ |
| 6 | #define BASE_ANDROID_BASE_JNI_ONLOAD_H_ |
| 7 | |
| 8 | #include <jni.h> |
michaelbai | 842c972d | 2015-01-28 21:40:36 | [diff] [blame] | 9 | |
| 10 | #include "base/base_export.h" |
Avi Drissman | 63e1f99 | 2023-01-13 18:54:43 | [diff] [blame] | 11 | #include "base/functional/callback.h" |
michaelbai | 842c972d | 2015-01-28 21:40:36 | [diff] [blame] | 12 | |
| 13 | namespace base { |
| 14 | namespace android { |
| 15 | |
tobiasjs | b9e287e | 2017-02-08 11:09:50 | [diff] [blame] | 16 | // Returns whether initialization succeeded. |
| 17 | BASE_EXPORT bool OnJNIOnLoadInit(); |
michaelbai | 842c972d | 2015-01-28 21:40:36 | [diff] [blame] | 18 | |
| 19 | } // namespace android |
| 20 | } // namespace base |
| 21 | |
| 22 | #endif // BASE_ANDROID_BASE_JNI_ONLOAD_H_ |