Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: base/android/jni_generator/jni_generator_helper.h

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698