diff options
Diffstat (limited to 'components/safe_json/android/component_jni_registrar.h')
-rw-r--r-- | components/safe_json/android/component_jni_registrar.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/components/safe_json/android/component_jni_registrar.h b/components/safe_json/android/component_jni_registrar.h new file mode 100644 index 0000000..8417783 --- /dev/null +++ b/components/safe_json/android/component_jni_registrar.h @@ -0,0 +1,19 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef COMPONENTS_SAFE_JSON_ANDROID_COMPONENT_JNI_REGISTRAR_H_ +#define COMPONENTS_SAFE_JSON_ANDROID_COMPONENT_JNI_REGISTRAR_H_ + +#include <jni.h> + +namespace safe_json { +namespace android { + +// Register all JNI bindings necessary for the safe_json component. +bool RegisterSafeJsonJni(JNIEnv* env); + +} // namespace android +} // namespace safe_json + +#endif // COMPONENTS_SAFE_JSON_ANDROID_COMPONENT_JNI_REGISTRAR_H_ |