Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: base/test/android/java_handler_thread_for_testing.h

Issue 2774363003: android: Java-based launcher thread (Closed)
Patch Set: comment on test Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/test/android/java_handler_thread_for_testing.h
diff --git a/base/test/android/java_handler_thread_for_testing.h b/base/test/android/java_handler_thread_for_testing.h
index bb3bb98cfea945018e00d66d9e1546ea4a16073d..082052c600077cba5ae8e797919ed72f02d840f5 100644
--- a/base/test/android/java_handler_thread_for_testing.h
+++ b/base/test/android/java_handler_thread_for_testing.h
@@ -38,6 +38,8 @@ class JavaHandlerThreadForTesting : public JavaHandlerThread {
public:
JavaHandlerThreadForTesting(const char* name,
base::WaitableEvent* test_done_event);
+ // Create java peer first, then connect with native.
+ explicit JavaHandlerThreadForTesting(base::WaitableEvent* test_done_event);
~JavaHandlerThreadForTesting() override;
void StartMessageLoop() override;

Powered by Google App Engine
This is Rietveld 408576698