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 #include "content/public/test/browser_test_utils.h" | 5 #include "content/public/test/browser_test_utils.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 base::LaunchProcess(*cmd_line.get(), options, NULL); | 490 base::LaunchProcess(*cmd_line.get(), options, NULL); |
491 | 491 |
492 #if defined(OS_POSIX) | 492 #if defined(OS_POSIX) |
493 // Just to make sure that the server process terminates certainly. | 493 // Just to make sure that the server process terminates certainly. |
494 if (process_group_id_ != base::kNullProcessHandle) | 494 if (process_group_id_ != base::kNullProcessHandle) |
495 base::KillProcessGroup(process_group_id_); | 495 base::KillProcessGroup(process_group_id_); |
496 #endif | 496 #endif |
497 } | 497 } |
498 | 498 |
499 } // namespace content | 499 } // namespace content |
OLD | NEW |