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

Unified Diff: base/android/jni_generator/testSingleJNIAdditionalImport.golden

Issue 2213963002: Stop relying on using statements in the JNI generator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/jni_generator/testNativesLong.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_generator/testSingleJNIAdditionalImport.golden
diff --git a/base/android/jni_generator/testSingleJNIAdditionalImport.golden b/base/android/jni_generator/testSingleJNIAdditionalImport.golden
index 75c8f6b94e9ab9e42f36e82ed3982340f1465846..db61dec51ecc06b6299f919b2f56d72f0b798a7d 100644
--- a/base/android/jni_generator/testSingleJNIAdditionalImport.golden
+++ b/base/android/jni_generator/testSingleJNIAdditionalImport.golden
@@ -27,14 +27,15 @@ base::subtle::AtomicWord g_Foo_clazz __attribute__((unused)) = 0;
// Step 2: method stubs.
-static void DoSomething(JNIEnv* env, const JavaParamRef<jclass>& jcaller,
- const JavaParamRef<jobject>& callback);
+static void DoSomething(JNIEnv* env, const base::android::JavaParamRef<jclass>&
+ jcaller,
+ const base::android::JavaParamRef<jobject>& callback);
extern "C" __attribute__((visibility("default")))
void Java_org_chromium_foo_Foo_nativeDoSomething(JNIEnv* env, jclass jcaller,
jobject callback) {
- return DoSomething(env, JavaParamRef<jclass>(env, jcaller),
- JavaParamRef<jobject>(env, callback));
+ return DoSomething(env, base::android::JavaParamRef<jclass>(env, jcaller),
+ base::android::JavaParamRef<jobject>(env, callback));
}
static base::subtle::AtomicWord g_Foo_calledByNative = 0;
« no previous file with comments | « base/android/jni_generator/testNativesLong.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698