| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEST_MULTIPROCESS_TEST_H_ | 5 #ifndef BASE_TEST_MULTIPROCESS_TEST_H_ |
| 6 #define BASE_TEST_MULTIPROCESS_TEST_H_ | 6 #define BASE_TEST_MULTIPROCESS_TEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "base/process/launch.h" | 11 #include "base/process/launch.h" |
| 12 #include "base/process/process.h" | 12 #include "base/process/process.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "testing/platform_test.h" | 14 #include "testing/platform_test.h" |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 | 17 |
| 18 class CommandLine; | 18 class CommandLine; |
| 19 | 19 |
| 20 // Helpers to spawn a child for a multiprocess test and execute a designated | 20 // Helpers to spawn a child for a multiprocess test and execute a designated |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // |ModifyChildCommandLine()|; make the two divergent uses more sane. | 122 // |ModifyChildCommandLine()|; make the two divergent uses more sane. |
| 123 virtual CommandLine MakeCmdLine(const std::string& procname); | 123 virtual CommandLine MakeCmdLine(const std::string& procname); |
| 124 | 124 |
| 125 private: | 125 private: |
| 126 DISALLOW_COPY_AND_ASSIGN(MultiProcessTest); | 126 DISALLOW_COPY_AND_ASSIGN(MultiProcessTest); |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace base | 129 } // namespace base |
| 130 | 130 |
| 131 #endif // BASE_TEST_MULTIPROCESS_TEST_H_ | 131 #endif // BASE_TEST_MULTIPROCESS_TEST_H_ |
| OLD | NEW |