OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/test/test_launcher.h" | 5 #include "content/public/test/test_launcher.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/test/test_suite.h" | 11 #include "base/test/test_suite.h" |
12 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
13 #include "content/public/test/content_test_suite_base.h" | 13 #include "content/public/test/content_test_suite_base.h" |
14 #include "content/shell/app/shell_main_delegate.h" | 14 #include "content/shell/app/shell_main_delegate.h" |
15 #include "content/shell/common/shell_content_client.h" | 15 #include "content/shell/common/shell_content_client.h" |
16 #include "content/shell/common/shell_switches.h" | 16 #include "content/shell/common/shell_switches.h" |
17 #include "content/shell/shell_content_browser_client.h" | 17 #include "content/shell/shell_content_browser_client.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 | 19 |
20 #if defined(OS_ANDROID) | 20 #if defined(OS_ANDROID) |
21 #include "base/message_loop.h" | 21 #include "base/message_loop/message_loop.h" |
22 #include "content/public/test/nested_message_pump_android.h" | 22 #include "content/public/test/nested_message_pump_android.h" |
23 #endif | 23 #endif |
24 | 24 |
25 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
26 #include "content/public/app/startup_helper_win.h" | 26 #include "content/public/app/startup_helper_win.h" |
27 #include "sandbox/win/src/sandbox_types.h" | 27 #include "sandbox/win/src/sandbox_types.h" |
28 #endif // defined(OS_WIN) | 28 #endif // defined(OS_WIN) |
29 | 29 |
30 namespace content { | 30 namespace content { |
31 | 31 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 private: | 123 private: |
124 DISALLOW_COPY_AND_ASSIGN(ContentTestLauncherDelegate); | 124 DISALLOW_COPY_AND_ASSIGN(ContentTestLauncherDelegate); |
125 }; | 125 }; |
126 | 126 |
127 } // namespace content | 127 } // namespace content |
128 | 128 |
129 int main(int argc, char** argv) { | 129 int main(int argc, char** argv) { |
130 content::ContentTestLauncherDelegate launcher_delegate; | 130 content::ContentTestLauncherDelegate launcher_delegate; |
131 return LaunchTests(&launcher_delegate, argc, argv); | 131 return LaunchTests(&launcher_delegate, argc, argv); |
132 } | 132 } |
OLD | NEW |