base_jni_onload.h 550 B

1234567891011121314151617181920212223
  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. #ifndef BASE_ANDROID_BASE_JNI_ONLOAD_H_
  5. #define BASE_ANDROID_BASE_JNI_ONLOAD_H_
  6. #include <jni.h>
  7. #include <vector>
  8. #include "base/base_export.h"
  9. #include "base/callback.h"
  10. namespace base {
  11. namespace android {
  12. // Returns whether initialization succeeded.
  13. BASE_EXPORT bool OnJNIOnLoadInit();
  14. } // namespace android
  15. } // namespace base
  16. #endif // BASE_ANDROID_BASE_JNI_ONLOAD_H_