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

Side by Side Diff: base/test/android/android_main_function_thunk.h

Issue 2549363004: Multiprocess test client: Android child process launcher rework. (Closed)
Patch Set: Fixed tests Created 4 years 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698