michaelbai | 3418524 | 2015-01-29 06:40:36 +0900 | [diff] [blame] | 1 | // Copyright 2015 The Chromium Authors. All rights reserved. |
| 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 | #include <vector> |
| 10 | |
| 11 | #include "base/base_export.h" |
michaelbai | b608d50 | 2015-02-21 10:29:40 +0900 | [diff] [blame] | 12 | #include "base/callback.h" |
michaelbai | 3418524 | 2015-01-29 06:40:36 +0900 | [diff] [blame] | 13 | |
| 14 | namespace base { |
| 15 | namespace android { |
| 16 | |
tobiasjs | fab838a | 2017-02-08 20:09:50 +0900 | [diff] [blame] | 17 | // Returns whether initialization succeeded. |
| 18 | BASE_EXPORT bool OnJNIOnLoadInit(); |
michaelbai | 3418524 | 2015-01-29 06:40:36 +0900 | [diff] [blame] | 19 | |
| 20 | } // namespace android |
| 21 | } // namespace base |
| 22 | |
| 23 | #endif // BASE_ANDROID_BASE_JNI_ONLOAD_H_ |