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 #ifndef CONTENT_TEST_CONTENT_TEST_SUITE_H_ | 5 #ifndef CONTENT_TEST_CONTENT_TEST_SUITE_H_ |
6 #define CONTENT_TEST_CONTENT_TEST_SUITE_H_ | 6 #define CONTENT_TEST_CONTENT_TEST_SUITE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "content/public/test/content_test_suite_base.h" | 9 #include "content/public/test/content_test_suite_base.h" |
10 | 10 |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
12 #include "base/win/scoped_com_initializer.h" | 12 #include "base/win/scoped_com_initializer.h" |
13 #endif | 13 #endif |
| 14 #if defined(USE_OZONE) |
| 15 #include "ui/ozone/public/ozone_gpu_test_helper.h" |
| 16 #endif |
14 | 17 |
15 namespace content { | 18 namespace content { |
16 | 19 |
17 class ContentTestSuite : public ContentTestSuiteBase { | 20 class ContentTestSuite : public ContentTestSuiteBase { |
18 public: | 21 public: |
19 ContentTestSuite(int argc, char** argv); | 22 ContentTestSuite(int argc, char** argv); |
20 ~ContentTestSuite() override; | 23 ~ContentTestSuite() override; |
21 | 24 |
22 protected: | 25 protected: |
23 void Initialize() override; | 26 void Initialize() override; |
24 | 27 |
25 private: | 28 private: |
26 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
27 base::win::ScopedCOMInitializer com_initializer_; | 30 base::win::ScopedCOMInitializer com_initializer_; |
28 #endif | 31 #endif |
| 32 #if defined(USE_OZONE) |
| 33 scoped_ptr<ui::OzoneInitializerForTest> ozone_; |
| 34 #endif |
29 | 35 |
30 DISALLOW_COPY_AND_ASSIGN(ContentTestSuite); | 36 DISALLOW_COPY_AND_ASSIGN(ContentTestSuite); |
31 }; | 37 }; |
32 | 38 |
33 } // namespace content | 39 } // namespace content |
34 | 40 |
35 #endif // CONTENT_TEST_CONTENT_TEST_SUITE_H_ | 41 #endif // CONTENT_TEST_CONTENT_TEST_SUITE_H_ |
OLD | NEW |