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 the native hooks for Java to native methods. If this fails Java | |
13 // objects won't be able to call native methods. |env| is a JNI interface | |
14 // pointer that holds all Java method signatures. It's lifecycle is owned by | |
15 // the native Java VM code. | |
Wez
2015/09/03 18:26:11
I'd suggest:
"Registers native method hooks with
David Trainor- moved to gerrit
2015/09/03 19:06:00
Ah yeah it's self contained (at least as far as ou
| |
16 bool RegisterBlimpJni(JNIEnv* env); | |
17 | |
18 } // namespace blimp | |
19 | |
20 #endif // BLIMP_CLIENT_ANDROID_BLIMP_JNI_REGISTRAR_H_ | |
OLD | NEW |