Index: base/android/jni_array.h |
diff --git a/base/android/jni_array.h b/base/android/jni_array.h |
index e9f6213478bfe56faa1ebcf0e9606e91f8f99fe9..86433a358c55a6509e7ae490521da8612d349bd4 100644 |
--- a/base/android/jni_array.h |
+++ b/base/android/jni_array.h |
@@ -17,42 +17,47 @@ namespace base { |
namespace android { |
// Returns a new Java byte array converted from the given bytes array. |
-ScopedJavaLocalRef<jbyteArray> ToJavaByteArray( |
+BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray( |
JNIEnv* env, const uint8* bytes, size_t len); |
// Returns a array of Java byte array converted from |v|. |
-ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfByteArray( |
+BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfByteArray( |
JNIEnv* env, const std::vector<std::string>& v); |
-ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings( |
+BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings( |
JNIEnv* env, const std::vector<std::string>& v); |
-ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings( |
+BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings( |
JNIEnv* env, const std::vector<string16>& v); |
// Converts a Java string array to a native array. |
-void AppendJavaStringArrayToStringVector(JNIEnv* env, |
- jobjectArray array, |
- std::vector<string16>* out); |
+BASE_EXPORT void AppendJavaStringArrayToStringVector( |
+ JNIEnv* env, |
+ jobjectArray array, |
+ std::vector<string16>* out); |
-void AppendJavaStringArrayToStringVector(JNIEnv* env, |
- jobjectArray array, |
- std::vector<std::string>* out); |
+BASE_EXPORT void AppendJavaStringArrayToStringVector( |
+ JNIEnv* env, |
+ jobjectArray array, |
+ std::vector<std::string>* out); |
// Appends the Java bytes in |bytes_array| onto the end of |out|. |
-void AppendJavaByteArrayToByteVector(JNIEnv* env, |
- jbyteArray byte_array, |
- std::vector<uint8>* out); |
+BASE_EXPORT void AppendJavaByteArrayToByteVector( |
+ JNIEnv* env, |
+ jbyteArray byte_array, |
+ std::vector<uint8>* out); |
// Replaces the content of |out| with the Java bytes in |bytes_array|. |
-void JavaByteArrayToByteVector(JNIEnv* env, |
- jbyteArray byte_array, |
- std::vector<uint8>* out); |
+BASE_EXPORT void JavaByteArrayToByteVector( |
+ JNIEnv* env, |
+ jbyteArray byte_array, |
+ std::vector<uint8>* out); |
// Replaces the content of |out| with the Java ints in |int_array|. |
-void JavaIntArrayToIntVector(JNIEnv* env, |
- jintArray int_array, |
- std::vector<int>* out); |
+BASE_EXPORT void JavaIntArrayToIntVector( |
+ JNIEnv* env, |
+ jintArray int_array, |
+ std::vector<int>* out); |
} // namespace android |
} // namespace base |