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 #ifndef CHROME_TEST_BASE_LAYOUT_TEST_HTTP_SERVER_H_ | 5 #ifndef CONTENT_TEST_LAYOUT_TEST_HTTP_SERVER_H_ |
6 #define CHROME_TEST_BASE_LAYOUT_TEST_HTTP_SERVER_H_ | 6 #define CONTENT_TEST_LAYOUT_TEST_HTTP_SERVER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 | 10 |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
12 #include "base/win/scoped_handle.h" | 12 #include "base/win/scoped_handle.h" |
13 #endif | 13 #endif |
14 | 14 |
15 // This object bounds the lifetime of an external HTTP server | 15 // This object bounds the lifetime of an external HTTP server |
16 // used for layout tests. | 16 // used for layout tests. |
(...skipping 26 matching lines...) Expand all Loading... |
43 bool running_; // True if the server is currently running. | 43 bool running_; // True if the server is currently running. |
44 | 44 |
45 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
46 // JobObject used to clean up orphaned child processes. | 46 // JobObject used to clean up orphaned child processes. |
47 base::win::ScopedHandle job_handle_; | 47 base::win::ScopedHandle job_handle_; |
48 #endif | 48 #endif |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(LayoutTestHttpServer); | 50 DISALLOW_COPY_AND_ASSIGN(LayoutTestHttpServer); |
51 }; | 51 }; |
52 | 52 |
53 #endif // CHROME_TEST_BASE_LAYOUT_TEST_HTTP_SERVER_H_ | 53 #endif // CONTENT_TEST_LAYOUT_TEST_HTTP_SERVER_H_ |
OLD | NEW |