summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebCoreJni.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/jni/WebCoreJni.h')
-rw-r--r--WebKit/android/jni/WebCoreJni.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/android/jni/WebCoreJni.h b/WebKit/android/jni/WebCoreJni.h
index 96ee291..95bdaa0 100644
--- a/WebKit/android/jni/WebCoreJni.h
+++ b/WebKit/android/jni/WebCoreJni.h
@@ -26,6 +26,7 @@
#ifndef ANDROID_WEBKIT_WEBCOREJNI_H
#define ANDROID_WEBKIT_WEBCOREJNI_H
+#include "ChromiumIncludes.h"
#include "PlatformString.h"
#include <jni.h>
@@ -72,6 +73,10 @@ bool checkException(JNIEnv* env);
// Create a WTF::String object from a jstring object.
WTF::String to_string(JNIEnv* env, jstring str);
+#if USE(CHROME_NETWORK_STACK)
+string16 jstringToString16(JNIEnv* env, jstring jstr);
+#endif
+
}
#endif