OLD | NEW |
(Empty) | |
| 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 BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
| 6 #define BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
| 7 |
| 8 #include <jni.h> |
| 9 |
| 10 namespace blimp { |
| 11 |
| 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); |
| 16 |
| 17 } // namespace blimp |
| 18 |
| 19 #endif // BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
OLD | NEW |