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_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ | |
6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ | |
7 | |
8 #include <jni.h> | |
9 | |
10 namespace blimp { | |
11 namespace client { | |
12 | |
13 // Registers native method hooks with the Java runtime specified by |env|. | |
14 // Returns false if registration fails, in which case native methods are | |
15 // unavailable to Java. | |
16 bool RegisterBlimpJni(JNIEnv* env); | |
17 | |
18 } // namespace client | |
19 } // namespace blimp | |
20 | |
21 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ | |
OLD | NEW |