| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/test/layout_test_http_server.h" | 5 #include "chrome/test/base/layout_test_http_server.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.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" |
| 11 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
| 12 | 12 |
| 13 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
| 14 #include "base/win/windows_version.h" | 14 #include "base/win/windows_version.h" |
| 15 #endif | 15 #endif |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 return false; | 102 return false; |
| 103 cmd_line.AppendArg("--server=stop"); | 103 cmd_line.AppendArg("--server=stop"); |
| 104 | 104 |
| 105 base::LaunchOptions options; | 105 base::LaunchOptions options; |
| 106 options.wait = true; | 106 options.wait = true; |
| 107 bool stopped = base::LaunchProcess(cmd_line, options, NULL); | 107 bool stopped = base::LaunchProcess(cmd_line, options, NULL); |
| 108 running_ = !stopped; | 108 running_ = !stopped; |
| 109 return stopped; | 109 return stopped; |
| 110 } | 110 } |
| 111 | 111 |
| OLD | NEW |