Index: base/android/jni_string.h |
diff --git a/base/android/jni_string.h b/base/android/jni_string.h |
index 43194a157bf2623c7089346af17b8b034f01cedb..62c4d02c8375e74d6f45e4f004495d13dd2f52d9 100644 |
--- a/base/android/jni_string.h |
+++ b/base/android/jni_string.h |
@@ -9,26 +9,27 @@ |
#include <string> |
#include "base/android/scoped_java_ref.h" |
+#include "base/base_export.h" |
#include "base/string_piece.h" |
namespace base { |
namespace android { |
// Convert a Java string to UTF8. Returns a std string. |
-std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str); |
-std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str); |
+BASE_EXPORT std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str); |
+BASE_EXPORT std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str); |
// Convert a std string to Java string. |
-ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString( |
+BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString( |
JNIEnv* env, |
const base::StringPiece& str); |
// Convert a Java string to UTF16. Returns a string16. |
-string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str); |
-string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str); |
+BASE_EXPORT string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str); |
+BASE_EXPORT string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str); |
// Convert a string16 to a Java string. |
-ScopedJavaLocalRef<jstring> ConvertUTF16ToJavaString( |
+BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF16ToJavaString( |
JNIEnv* env, |
const base::StringPiece16& str); |