OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/shell/browser/layout_test/layout_test_browser_main.h" | 5 #include "content/shell/browser/layout_test/layout_test_browser_main.h" |
6 | 6 |
7 #include <iostream> | 7 #include <iostream> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/strings/sys_string_conversions.h" | 17 #include "base/strings/sys_string_conversions.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/thread_task_runner_handle.h" | |
20 #include "base/threading/thread_restrictions.h" | 19 #include "base/threading/thread_restrictions.h" |
| 20 #include "base/threading/thread_task_runner_handle.h" |
21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
22 #include "content/public/browser/browser_main_runner.h" | 22 #include "content/public/browser/browser_main_runner.h" |
23 #include "content/public/common/url_constants.h" | 23 #include "content/public/common/url_constants.h" |
24 #include "content/shell/browser/layout_test/blink_test_controller.h" | 24 #include "content/shell/browser/layout_test/blink_test_controller.h" |
25 #include "content/shell/browser/layout_test/test_info_extractor.h" | 25 #include "content/shell/browser/layout_test/test_info_extractor.h" |
26 #include "content/shell/browser/shell.h" | 26 #include "content/shell/browser/shell.h" |
27 #include "content/shell/common/layout_test/layout_test_switches.h" | 27 #include "content/shell/common/layout_test/layout_test_switches.h" |
28 #include "content/shell/common/shell_switches.h" | 28 #include "content/shell/common/shell_switches.h" |
29 #include "content/shell/renderer/layout_test/blink_test_helpers.h" | 29 #include "content/shell/renderer/layout_test/blink_test_helpers.h" |
30 #include "net/base/filename_util.h" | 30 #include "net/base/filename_util.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 } | 142 } |
143 | 143 |
144 exit_code = RunTests(main_runner); | 144 exit_code = RunTests(main_runner); |
145 | 145 |
146 #if !defined(OS_ANDROID) | 146 #if !defined(OS_ANDROID) |
147 main_runner->Shutdown(); | 147 main_runner->Shutdown(); |
148 #endif | 148 #endif |
149 | 149 |
150 return exit_code; | 150 return exit_code; |
151 } | 151 } |
OLD | NEW |