| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 TOOLS_GN_EXEC_PROCESS_H_ |
| 6 #define TOOLS_GN_EXEC_PROCESS_H_ |
| 7 |
| 5 #include <string> | 8 #include <string> |
| 6 | 9 |
| 7 namespace base { | 10 namespace base { |
| 8 class CommandLine; | 11 class CommandLine; |
| 9 class FilePath; | 12 class FilePath; |
| 10 } | 13 } |
| 11 | 14 |
| 12 namespace internal { | 15 namespace internal { |
| 16 |
| 13 bool ExecProcess(const base::CommandLine& cmdline, | 17 bool ExecProcess(const base::CommandLine& cmdline, |
| 14 const base::FilePath& startup_dir, | 18 const base::FilePath& startup_dir, |
| 15 std::string* std_out, | 19 std::string* std_out, |
| 16 std::string* std_err, | 20 std::string* std_err, |
| 17 int* exit_code); | 21 int* exit_code); |
| 22 |
| 18 } // namespace internal | 23 } // namespace internal |
| 24 |
| 25 #endif // TOOLS_GN_EXEC_PROCESS_H_ |
| OLD | NEW |