OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 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_ANDROID_MAIN_FUNCTION_THUNK_H_ |
| 6 #define BASE_TEST_ANDROID_MAIN_FUNCTION_THUNK_H_ |
| 7 |
| 8 namespace base { |
| 9 namespace android { |
| 10 |
| 11 // This struct provides a way for multiprocess tests to specify the main |
| 12 // function that should be executed by the child process. |
| 13 |
| 14 struct AndroidMainFunctionThunk { |
| 15 typedef int (*MainFuntion)(int, char**); |
| 16 explicit AndroidMainFunctionThunk(MainFuntion main_function); |
| 17 }; |
| 18 |
| 19 } // namespace android |
| 20 } // namespace base |
| 21 |
| 22 #endif // BASE_TEST_ANDROID_MAIN_FUNCTION_THUNK_H_ |
OLD | NEW |