| 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 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
| 12 #include "base/files/scoped_temp_dir.h" | 12 #include "base/files/scoped_temp_dir.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.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" | 19 #include "base/thread_task_runner_handle.h" |
| 20 #include "base/threading/thread_restrictions.h" | 20 #include "base/threading/thread_restrictions.h" |
| 21 #include "build/build_config.h" |
| 21 #include "components/test_runner/test_info_extractor.h" | 22 #include "components/test_runner/test_info_extractor.h" |
| 22 #include "content/public/browser/browser_main_runner.h" | 23 #include "content/public/browser/browser_main_runner.h" |
| 23 #include "content/public/common/url_constants.h" | 24 #include "content/public/common/url_constants.h" |
| 24 #include "content/shell/browser/blink_test_controller.h" | 25 #include "content/shell/browser/blink_test_controller.h" |
| 25 #include "content/shell/browser/shell.h" | 26 #include "content/shell/browser/shell.h" |
| 26 #include "content/shell/common/shell_switches.h" | 27 #include "content/shell/common/shell_switches.h" |
| 27 #include "content/shell/renderer/layout_test/blink_test_helpers.h" | 28 #include "content/shell/renderer/layout_test/blink_test_helpers.h" |
| 28 #include "net/base/filename_util.h" | 29 #include "net/base/filename_util.h" |
| 29 | 30 |
| 30 #if defined(OS_ANDROID) | 31 #if defined(OS_ANDROID) |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 } | 140 } |
| 140 | 141 |
| 141 exit_code = RunTests(main_runner); | 142 exit_code = RunTests(main_runner); |
| 142 | 143 |
| 143 #if !defined(OS_ANDROID) | 144 #if !defined(OS_ANDROID) |
| 144 main_runner->Shutdown(); | 145 main_runner->Shutdown(); |
| 145 #endif | 146 #endif |
| 146 | 147 |
| 147 return exit_code; | 148 return exit_code; |
| 148 } | 149 } |
| OLD | NEW |