| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/test/test_suite.h" | 10 #include "base/test/test_suite.h" |
| 11 #include "base/win/scoped_com_initializer.h" |
| 11 | 12 |
| 12 class ContentTestSuite : public base::TestSuite { | 13 class ContentTestSuite : public base::TestSuite { |
| 13 public: | 14 public: |
| 14 ContentTestSuite(int argc, char** argv); | 15 ContentTestSuite(int argc, char** argv); |
| 15 virtual ~ContentTestSuite(); | 16 virtual ~ContentTestSuite(); |
| 16 | 17 |
| 17 protected: | 18 protected: |
| 18 virtual void Initialize() OVERRIDE; | 19 virtual void Initialize() OVERRIDE; |
| 19 | 20 |
| 21 private: |
| 22 base::win::ScopedCOMInitializer com_initializer_; |
| 23 |
| 20 DISALLOW_COPY_AND_ASSIGN(ContentTestSuite); | 24 DISALLOW_COPY_AND_ASSIGN(ContentTestSuite); |
| 21 }; | 25 }; |
| 22 | 26 |
| 23 #endif // CONTENT_TEST_CONTENT_TEST_SUITE_H_ | 27 #endif // CONTENT_TEST_CONTENT_TEST_SUITE_H_ |
| OLD | NEW |