OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_TEST_RUNNER_TEST_INFO_EXTRACTOR_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_INFO_EXTRACTOR_H_ |
6 #define COMPONENTS_TEST_RUNNER_TEST_INFO_EXTRACTOR_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_INFO_EXTRACTOR_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/command_line.h" | 12 #include "base/command_line.h" |
11 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" |
12 #include "components/test_runner/test_runner_export.h" | 15 #include "components/test_runner/test_runner_export.h" |
13 #include "url/gurl.h" | 16 #include "url/gurl.h" |
14 | 17 |
15 namespace test_runner { | 18 namespace test_runner { |
16 | 19 |
17 struct TEST_RUNNER_EXPORT TestInfo { | 20 struct TEST_RUNNER_EXPORT TestInfo { |
18 TestInfo(const GURL& url, | 21 TestInfo(const GURL& url, |
19 bool enable_pixel_dumping, | 22 bool enable_pixel_dumping, |
20 const std::string& expected_pixel_hash, | 23 const std::string& expected_pixel_hash, |
21 const base::FilePath& current_working_directory); | 24 const base::FilePath& current_working_directory); |
(...skipping 15 matching lines...) Expand all Loading... |
37 private: | 40 private: |
38 base::CommandLine::StringVector cmdline_args_; | 41 base::CommandLine::StringVector cmdline_args_; |
39 size_t cmdline_position_; | 42 size_t cmdline_position_; |
40 | 43 |
41 DISALLOW_COPY_AND_ASSIGN(TestInfoExtractor); | 44 DISALLOW_COPY_AND_ASSIGN(TestInfoExtractor); |
42 }; | 45 }; |
43 | 46 |
44 } // namespace test_runner | 47 } // namespace test_runner |
45 | 48 |
46 #endif // COMPONENTS_TEST_RUNNER_TEST_INFO_EXTRACTOR_H_ | 49 #endif // COMPONENTS_TEST_RUNNER_TEST_INFO_EXTRACTOR_H_ |
OLD | NEW |