OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_MULTIPROCESS_TEST_H_ | 5 #ifndef BASE_MULTIPROCESS_TEST_H_ |
6 #define BASE_MULTIPROCESS_TEST_H_ | 6 #define BASE_MULTIPROCESS_TEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 bool debug_on_start) { | 112 bool debug_on_start) { |
113 base::ProcessHandle handle = base::kNullProcessHandle; | 113 base::ProcessHandle handle = base::kNullProcessHandle; |
114 base::LaunchApp(MakeCmdLine(procname, debug_on_start).argv(), | 114 base::LaunchApp(MakeCmdLine(procname, debug_on_start).argv(), |
115 fds_to_map, false, &handle); | 115 fds_to_map, false, &handle); |
116 return handle; | 116 return handle; |
117 } | 117 } |
118 #endif | 118 #endif |
119 }; | 119 }; |
120 | 120 |
121 #endif // BASE_MULTIPROCESS_TEST_H_ | 121 #endif // BASE_MULTIPROCESS_TEST_H_ |
OLD | NEW |