1 // Copyright 2019 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef TESTING_ANDROID_NATIVE_TEST_NATIVE_BROWSER_TEST_SUPPORT_H_ 6 #define TESTING_ANDROID_NATIVE_TEST_NATIVE_BROWSER_TEST_SUPPORT_H_ 7 8 #include <jni.h> 9 10 namespace testing { 11 namespace android { 12 13 // Android browser tests must wait for Java async initialization tasks to run 14 // before running the test. This function returns true in the browser process 15 // once they are done. 16 bool JavaAsyncStartupTasksCompleteForBrowserTests(); 17 18 } // namespace android 19 } // namespace testing 20 21 #endif // TESTING_ANDROID_NATIVE_TEST_NATIVE_BROWSER_TEST_SUPPORT_H_ 22