Index: webrtc/sdk/android/src/jni/jni_helpers.h |
diff --git a/webrtc/sdk/android/src/jni/jni_helpers.h b/webrtc/sdk/android/src/jni/jni_helpers.h |
index cc04f8bb55d8849f171aa3c9cbb3d980303101bf..83f2155c70c1f9c23515e736070e61c29ec6ab53 100644 |
--- a/webrtc/sdk/android/src/jni/jni_helpers.h |
+++ b/webrtc/sdk/android/src/jni/jni_helpers.h |
@@ -15,6 +15,7 @@ |
#define WEBRTC_SDK_ANDROID_SRC_JNI_JNI_HELPERS_H_ |
#include <jni.h> |
+#include <map> |
#include <string> |
#include <vector> |
@@ -114,6 +115,10 @@ jobject JavaEnumFromIndexAndClassName(JNIEnv* jni, |
const std::string& state_class_fragment, |
int index); |
+// Parses Map<String, String> to std::map<std::string, std::string>. |
+std::map<std::string, std::string> JavaToStdMapStrings(JNIEnv* jni, |
+ jobject j_map); |
+ |
// Returns the name of a Java enum. |
std::string GetJavaEnumName(JNIEnv* jni, |
const std::string& className, |