OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ | 5 #ifndef BLIMP_CLIENT_PUBLIC_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ | 6 #define BLIMP_CLIENT_PUBLIC_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 namespace blimp { | 10 namespace blimp { |
11 namespace client { | 11 namespace client { |
12 | 12 |
13 // Registers native method hooks with the Java runtime specified by |env|. | 13 // Registers native method hooks with the Java runtime specified by |env|. |
14 // Returns false if registration fails, in which case native methods are | 14 // Returns false if registration fails, in which case native methods are |
15 // unavailable to Java. | 15 // unavailable to Java. |
16 bool RegisterBlimpJni(JNIEnv* env); | 16 bool RegisterBlimpJni(JNIEnv* env); |
17 | 17 |
18 } // namespace client | 18 } // namespace client |
19 } // namespace blimp | 19 } // namespace blimp |
20 | 20 |
21 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ | 21 #endif // BLIMP_CLIENT_PUBLIC_ANDROID_BLIMP_JNI_REGISTRAR_H_ |
OLD | NEW |