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_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ |
6 #define CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ | 6 #define CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 public: | 23 public: |
24 // Takes ownership of |test_suite|. | 24 // Takes ownership of |test_suite|. |
25 explicit UnitTestTestSuite(base::TestSuite* test_suite); | 25 explicit UnitTestTestSuite(base::TestSuite* test_suite); |
26 ~UnitTestTestSuite(); | 26 ~UnitTestTestSuite(); |
27 | 27 |
28 int Run(); | 28 int Run(); |
29 | 29 |
30 private: | 30 private: |
31 scoped_ptr<base::TestSuite> test_suite_; | 31 scoped_ptr<base::TestSuite> test_suite_; |
32 | 32 |
| 33 #if !defined(OS_IOS) |
33 class UnitTestWebKitPlatformSupport; | 34 class UnitTestWebKitPlatformSupport; |
34 scoped_ptr<UnitTestWebKitPlatformSupport> webkit_platform_support_; | 35 scoped_ptr<UnitTestWebKitPlatformSupport> webkit_platform_support_; |
| 36 #endif |
35 | 37 |
36 DISALLOW_COPY_AND_ASSIGN(UnitTestTestSuite); | 38 DISALLOW_COPY_AND_ASSIGN(UnitTestTestSuite); |
37 }; | 39 }; |
38 | 40 |
39 } // namespace content | 41 } // namespace content |
40 | 42 |
41 #endif // CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ | 43 #endif // CONTENT_PUBLIC_TEST_UNITTEST_TEST_SUITE_H_ |
OLD | NEW |