diff options
Diffstat (limited to 'remoting/client/jni/chromoting_jni_runtime.h')
-rw-r--r-- | remoting/client/jni/chromoting_jni_runtime.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/client/jni/chromoting_jni_runtime.h b/remoting/client/jni/chromoting_jni_runtime.h index 1a6952b..93f933f 100644 --- a/remoting/client/jni/chromoting_jni_runtime.h +++ b/remoting/client/jni/chromoting_jni_runtime.h @@ -6,6 +6,7 @@ #define REMOTING_CLIENT_JNI_CHROMOTING_JNI_RUNTIME_H_ #include <jni.h> +#include <string> #include "base/at_exit.h" #include "net/url_request/url_request_context_getter.h" @@ -94,6 +95,9 @@ class ChromotingJniRuntime { // cross-thread calls on the class. virtual ~ChromotingJniRuntime(); + // Detaches JVM from the current thread, then signals. Doesn't own |waiter|. + void DetachFromVmAndSignal(base::WaitableEvent* waiter); + // Reference to the Java class into which we make JNI calls. jclass class_; |