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_LAYOUT_TEST_HTTP_SERVER_H_ | 5 #ifndef CHROME_TEST_BASE_LAYOUT_TEST_HTTP_SERVER_H_ |
6 #define CHROME_TEST_LAYOUT_TEST_HTTP_SERVER_H_ | 6 #define CHROME_TEST_BASE_LAYOUT_TEST_HTTP_SERVER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 | 11 |
12 // This object bounds the lifetime of an external HTTP server | 12 // This object bounds the lifetime of an external HTTP server |
13 // used for layout tests. | 13 // used for layout tests. |
14 // | 14 // |
15 // NOTE: If you're not running a layout test, you probably want | 15 // NOTE: If you're not running a layout test, you probably want |
16 // a more lightweight net/test/test_server HTTP server. | 16 // a more lightweight net/test/test_server HTTP server. |
(...skipping 16 matching lines...) Expand all Loading... |
33 private: | 33 private: |
34 FilePath root_directory_; // Root directory of the server. | 34 FilePath root_directory_; // Root directory of the server. |
35 | 35 |
36 int port_; // Port on which the server should listen. | 36 int port_; // Port on which the server should listen. |
37 | 37 |
38 bool running_; // True if the server is currently running. | 38 bool running_; // True if the server is currently running. |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(LayoutTestHttpServer); | 40 DISALLOW_COPY_AND_ASSIGN(LayoutTestHttpServer); |
41 }; | 41 }; |
42 | 42 |
43 #endif // CHROME_TEST_LAYOUT_TEST_HTTP_SERVER_H_ | 43 #endif // CHROME_TEST_BASE_LAYOUT_TEST_HTTP_SERVER_H_ |
OLD | NEW |