Index: base/android/jni_generator/testCalledByNatives.golden |
diff --git a/base/android/jni_generator/testCalledByNatives.golden b/base/android/jni_generator/testCalledByNatives.golden |
index dd2d454d605d1b288fea023e9004cd6e70d2fc68..cc3198458e69115e6b65db17a76874f376aa28ce 100644 |
--- a/base/android/jni_generator/testCalledByNatives.golden |
+++ b/base/android/jni_generator/testCalledByNatives.golden |
@@ -32,8 +32,9 @@ base::subtle::AtomicWord g_InfoBar_clazz __attribute__((unused)) = 0; |
// Step 2: method stubs. |
static base::subtle::AtomicWord g_TestJni_showConfirmInfoBar = 0; |
-static ScopedJavaLocalRef<jobject> Java_TestJni_showConfirmInfoBar(JNIEnv* env, |
- jobject obj, JniIntWrapper nativeInfoBar, |
+static base::android::ScopedJavaLocalRef<jobject> |
+ Java_TestJni_showConfirmInfoBar(JNIEnv* env, jobject obj, JniIntWrapper |
+ nativeInfoBar, |
jstring buttonOk, |
jstring buttonCancel, |
jstring title, |
@@ -61,12 +62,13 @@ static ScopedJavaLocalRef<jobject> Java_TestJni_showConfirmInfoBar(JNIEnv* env, |
method_id, as_jint(nativeInfoBar), buttonOk, buttonCancel, title, |
icon); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jobject>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jobject>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_showAutoLoginInfoBar = 0; |
-static ScopedJavaLocalRef<jobject> Java_TestJni_showAutoLoginInfoBar(JNIEnv* |
- env, jobject obj, JniIntWrapper nativeInfoBar, |
+static base::android::ScopedJavaLocalRef<jobject> |
+ Java_TestJni_showAutoLoginInfoBar(JNIEnv* env, jobject obj, JniIntWrapper |
+ nativeInfoBar, |
jstring realm, |
jstring account, |
jstring args) { |
@@ -91,7 +93,7 @@ static ScopedJavaLocalRef<jobject> Java_TestJni_showAutoLoginInfoBar(JNIEnv* |
env->CallObjectMethod(obj, |
method_id, as_jint(nativeInfoBar), realm, account, args); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jobject>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jobject>(env, ret); |
} |
static base::subtle::AtomicWord g_InfoBar_dismiss = 0; |
@@ -145,8 +147,8 @@ static jboolean Java_TestJni_shouldShowAutoLogin(JNIEnv* env, jobject view, |
} |
static base::subtle::AtomicWord g_TestJni_openUrl = 0; |
-static ScopedJavaLocalRef<jobject> Java_TestJni_openUrl(JNIEnv* env, jstring |
- url) { |
+static base::android::ScopedJavaLocalRef<jobject> Java_TestJni_openUrl(JNIEnv* |
+ env, jstring url) { |
CHECK_CLAZZ(env, TestJni_clazz(env), |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -165,7 +167,7 @@ static ScopedJavaLocalRef<jobject> Java_TestJni_openUrl(JNIEnv* env, jstring |
env->CallStaticObjectMethod(TestJni_clazz(env), |
method_id, url); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jobject>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jobject>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_activateHardwareAcceleration = 0; |
@@ -223,8 +225,8 @@ static void Java_TestJni_uncheckedCall(JNIEnv* env, jobject obj, JniIntWrapper |
} |
static base::subtle::AtomicWord g_TestJni_returnByteArray = 0; |
-static ScopedJavaLocalRef<jbyteArray> Java_TestJni_returnByteArray(JNIEnv* env, |
- jobject obj) { |
+static base::android::ScopedJavaLocalRef<jbyteArray> |
+ Java_TestJni_returnByteArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -242,12 +244,12 @@ static ScopedJavaLocalRef<jbyteArray> Java_TestJni_returnByteArray(JNIEnv* env, |
static_cast<jbyteArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jbyteArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jbyteArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnBooleanArray = 0; |
-static ScopedJavaLocalRef<jbooleanArray> Java_TestJni_returnBooleanArray(JNIEnv* |
- env, jobject obj) { |
+static base::android::ScopedJavaLocalRef<jbooleanArray> |
+ Java_TestJni_returnBooleanArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -265,12 +267,12 @@ static ScopedJavaLocalRef<jbooleanArray> Java_TestJni_returnBooleanArray(JNIEnv* |
static_cast<jbooleanArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jbooleanArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jbooleanArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnCharArray = 0; |
-static ScopedJavaLocalRef<jcharArray> Java_TestJni_returnCharArray(JNIEnv* env, |
- jobject obj) { |
+static base::android::ScopedJavaLocalRef<jcharArray> |
+ Java_TestJni_returnCharArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -288,12 +290,12 @@ static ScopedJavaLocalRef<jcharArray> Java_TestJni_returnCharArray(JNIEnv* env, |
static_cast<jcharArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jcharArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jcharArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnShortArray = 0; |
-static ScopedJavaLocalRef<jshortArray> Java_TestJni_returnShortArray(JNIEnv* |
- env, jobject obj) { |
+static base::android::ScopedJavaLocalRef<jshortArray> |
+ Java_TestJni_returnShortArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -311,12 +313,12 @@ static ScopedJavaLocalRef<jshortArray> Java_TestJni_returnShortArray(JNIEnv* |
static_cast<jshortArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jshortArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jshortArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnIntArray = 0; |
-static ScopedJavaLocalRef<jintArray> Java_TestJni_returnIntArray(JNIEnv* env, |
- jobject obj) { |
+static base::android::ScopedJavaLocalRef<jintArray> |
+ Java_TestJni_returnIntArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -334,12 +336,12 @@ static ScopedJavaLocalRef<jintArray> Java_TestJni_returnIntArray(JNIEnv* env, |
static_cast<jintArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jintArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jintArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnLongArray = 0; |
-static ScopedJavaLocalRef<jlongArray> Java_TestJni_returnLongArray(JNIEnv* env, |
- jobject obj) { |
+static base::android::ScopedJavaLocalRef<jlongArray> |
+ Java_TestJni_returnLongArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -357,12 +359,12 @@ static ScopedJavaLocalRef<jlongArray> Java_TestJni_returnLongArray(JNIEnv* env, |
static_cast<jlongArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jlongArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jlongArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnDoubleArray = 0; |
-static ScopedJavaLocalRef<jdoubleArray> Java_TestJni_returnDoubleArray(JNIEnv* |
- env, jobject obj) { |
+static base::android::ScopedJavaLocalRef<jdoubleArray> |
+ Java_TestJni_returnDoubleArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -380,12 +382,12 @@ static ScopedJavaLocalRef<jdoubleArray> Java_TestJni_returnDoubleArray(JNIEnv* |
static_cast<jdoubleArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jdoubleArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jdoubleArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnObjectArray = 0; |
-static ScopedJavaLocalRef<jobjectArray> Java_TestJni_returnObjectArray(JNIEnv* |
- env, jobject obj) { |
+static base::android::ScopedJavaLocalRef<jobjectArray> |
+ Java_TestJni_returnObjectArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -403,11 +405,11 @@ static ScopedJavaLocalRef<jobjectArray> Java_TestJni_returnObjectArray(JNIEnv* |
static_cast<jobjectArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jobjectArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jobjectArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_returnArrayOfByteArray = 0; |
-static ScopedJavaLocalRef<jobjectArray> |
+static base::android::ScopedJavaLocalRef<jobjectArray> |
Java_TestJni_returnArrayOfByteArray(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
@@ -426,12 +428,12 @@ static ScopedJavaLocalRef<jobjectArray> |
static_cast<jobjectArray>(env->CallObjectMethod(obj, |
method_id)); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jobjectArray>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jobjectArray>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_getCompressFormat = 0; |
-static ScopedJavaLocalRef<jobject> Java_TestJni_getCompressFormat(JNIEnv* env, |
- jobject obj) { |
+static base::android::ScopedJavaLocalRef<jobject> |
+ Java_TestJni_getCompressFormat(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -449,12 +451,12 @@ static ScopedJavaLocalRef<jobject> Java_TestJni_getCompressFormat(JNIEnv* env, |
env->CallObjectMethod(obj, |
method_id); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jobject>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jobject>(env, ret); |
} |
static base::subtle::AtomicWord g_TestJni_getCompressFormatList = 0; |
-static ScopedJavaLocalRef<jobject> Java_TestJni_getCompressFormatList(JNIEnv* |
- env, jobject obj) { |
+static base::android::ScopedJavaLocalRef<jobject> |
+ Java_TestJni_getCompressFormatList(JNIEnv* env, jobject obj) { |
CHECK_CLAZZ(env, obj, |
TestJni_clazz(env), NULL); |
jmethodID method_id = |
@@ -472,7 +474,7 @@ static ScopedJavaLocalRef<jobject> Java_TestJni_getCompressFormatList(JNIEnv* |
env->CallObjectMethod(obj, |
method_id); |
jni_generator::CheckException(env); |
- return ScopedJavaLocalRef<jobject>(env, ret); |
+ return base::android::ScopedJavaLocalRef<jobject>(env, ret); |
} |
// Step 3: RegisterNatives. |