1 // Copyright 2012 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 BASE_TEST_TEST_SUPPORT_ANDROID_H_ 6 #define BASE_TEST_TEST_SUPPORT_ANDROID_H_ 7 8 #include "base/base_export.h" 9 10 namespace base { 11 12 class FilePath; 13 14 // Init path providers for tests on Android. 15 BASE_EXPORT void InitAndroidTestPaths(const FilePath& test_data_dir); 16 17 // Init the message loop for tests on Android. 18 BASE_EXPORT void InitAndroidTestMessageLoop(); 19 20 // Counts how many times MessagePumpAndroid::DoNonDelayedLooperWork() has been 21 // entered. 22 BASE_EXPORT uint32_t GetAndroidNonDelayedWorkEnterCount(); 23 24 } // namespace base 25 26 #endif // BASE_TEST_TEST_SUPPORT_ANDROID_H_ 27