OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 5 |
6 #ifndef BASE_ANDROID_JNI_GENERATOR_JNI_GENERATOR_HELPER_H_ | 6 #ifndef BASE_ANDROID_JNI_GENERATOR_JNI_GENERATOR_HELPER_H_ |
7 #define BASE_ANDROID_JNI_GENERATOR_JNI_GENERATOR_HELPER_H_ | 7 #define BASE_ANDROID_JNI_GENERATOR_JNI_GENERATOR_HELPER_H_ |
8 | 8 |
9 #include <jni.h> | 9 #include <jni.h> |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 LOG(ERROR) << "RegisterNatives failed in " << filename; | 29 LOG(ERROR) << "RegisterNatives failed in " << filename; |
30 } | 30 } |
31 | 31 |
32 inline void CheckException(JNIEnv* env) { | 32 inline void CheckException(JNIEnv* env) { |
33 base::android::CheckException(env); | 33 base::android::CheckException(env); |
34 } | 34 } |
35 | 35 |
36 } // namespace jni_generator | 36 } // namespace jni_generator |
37 | 37 |
38 using base::android::ScopedJavaLocalRef; | 38 using base::android::ScopedJavaLocalRef; |
| 39 using base::android::JavaParamRef; |
39 | 40 |
40 #endif // BASE_ANDROID_JNI_GENERATOR_JNI_GENERATOR_HELPER_H_ | 41 #endif // BASE_ANDROID_JNI_GENERATOR_JNI_GENERATOR_HELPER_H_ |
OLD | NEW |