Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / blimp / client / android / blimp_jni_registrar.h
blob4d8b0c468ab027dd4aeb8cd870c41baad66c1125
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.
5 #ifndef BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_
6 #define BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_
8 #include <jni.h>
10 namespace blimp {
12 // Registers native method hooks with the Java runtime specified by |env|.
13 // Returns false if registration fails, in which case native methods are
14 // unavailable to Java.
15 bool RegisterBlimpJni(JNIEnv* env);
17 } // namespace blimp
19 #endif // BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_