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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
| 7 #include "base/macros.h" |
7 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
8 #include "base/metrics/statistics_recorder.h" | 9 #include "base/metrics/statistics_recorder.h" |
9 #include "base/path_service.h" | 10 #include "base/path_service.h" |
10 #include "base/test/launcher/unit_test_launcher.h" | 11 #include "base/test/launcher/unit_test_launcher.h" |
11 #include "base/test/test_suite.h" | 12 #include "base/test/test_suite.h" |
| 13 #include "build/build_config.h" |
12 #include "components/content_settings/core/common/content_settings_pattern.h" | 14 #include "components/content_settings/core/common/content_settings_pattern.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
15 #include "ui/base/ui_base_paths.h" | 17 #include "ui/base/ui_base_paths.h" |
16 #include "url/url_util.h" | 18 #include "url/url_util.h" |
17 | 19 |
18 #if !defined(OS_IOS) | 20 #if !defined(OS_IOS) |
19 #include "content/public/test/test_content_client_initializer.h" | 21 #include "content/public/test/test_content_client_initializer.h" |
20 #include "ui/gl/test/gl_surface_test_support.h" | 22 #include "ui/gl/test/gl_surface_test_support.h" |
21 #endif | 23 #endif |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 listeners.Append(new ComponentsUnitTestEventListener()); | 144 listeners.Append(new ComponentsUnitTestEventListener()); |
143 | 145 |
144 #if defined(OS_CHROMEOS) | 146 #if defined(OS_CHROMEOS) |
145 mojo::embedder::Init(); | 147 mojo::embedder::Init(); |
146 #endif | 148 #endif |
147 | 149 |
148 return base::LaunchUnitTests( | 150 return base::LaunchUnitTests( |
149 argc, argv, base::Bind(&base::TestSuite::Run, | 151 argc, argv, base::Bind(&base::TestSuite::Run, |
150 base::Unretained(&test_suite))); | 152 base::Unretained(&test_suite))); |
151 } | 153 } |
OLD | NEW |