| Index: base/android/java_handler_thread.h
|
| diff --git a/base/android/java_handler_thread.h b/base/android/java_handler_thread.h
|
| index 1709ff4fce8c72bc9619cb87130dd06ceea62949..d54bcc7276acda5d5f0069aa1c114108f27b238a 100644
|
| --- a/base/android/java_handler_thread.h
|
| +++ b/base/android/java_handler_thread.h
|
| @@ -30,16 +30,25 @@ class BASE_EXPORT JavaHandlerThread {
|
|
|
| base::MessageLoop* message_loop() const { return message_loop_.get(); }
|
| void Start();
|
| + void StartForTesting(base::WaitableEvent* test_done_event);
|
| void Stop();
|
| + void StopForTesting();
|
|
|
| // Called from java on the newly created thread.
|
| // Start() will not return before this methods has finished.
|
| void InitializeThread(JNIEnv* env,
|
| const JavaParamRef<jobject>& obj,
|
| jlong event);
|
| + void InitializeThreadForTesting(JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + jlong event,
|
| + jlong test_done_event);
|
| void StopThread(JNIEnv* env,
|
| const JavaParamRef<jobject>& obj,
|
| jlong event);
|
| + void StopThreadForTesting(JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + jlong event);
|
|
|
| static bool RegisterBindings(JNIEnv* env);
|
|
|
|
|