base_jni_onload.h 532 B

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