xref: /aosp_15_r20/external/cronet/base/android/base_jni_onload.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2015 The Chromium Authors
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>
9 
10 #include "base/base_export.h"
11 #include "base/functional/callback.h"
12 
13 namespace base {
14 namespace android {
15 
16 // Returns whether initialization succeeded.
17 BASE_EXPORT bool OnJNIOnLoadInit();
18 
19 }  // namespace android
20 }  // namespace base
21 
22 #endif  // BASE_ANDROID_BASE_JNI_ONLOAD_H_
23