| OLD | NEW |
| 1 // Copyright (c) 2011 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 UI_GFX_COMPOSITOR_TEST_TEST_SUITE_H_ | 5 #ifndef UI_GFX_COMPOSITOR_TEST_TEST_SUITE_H_ |
| 6 #define UI_GFX_COMPOSITOR_TEST_TEST_SUITE_H_ | 6 #define UI_GFX_COMPOSITOR_TEST_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/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/test/test_suite.h" | 11 #include "base/test/test_suite.h" |
| 12 | 12 |
| 13 class MessageLoop; | 13 class MessageLoop; |
| 14 | 14 |
| 15 class CompositorTestSuite : public base::TestSuite { | 15 class CompositorTestSuite : public base::TestSuite { |
| 16 public: | 16 public: |
| 17 CompositorTestSuite(int argc, char** argv); | 17 CompositorTestSuite(int argc, char** argv); |
| 18 virtual ~CompositorTestSuite(); | 18 virtual ~CompositorTestSuite(); |
| 19 | 19 |
| 20 protected: | 20 protected: |
| 21 // base::TestSuite: | 21 // base::TestSuite: |
| 22 virtual void Initialize() OVERRIDE; | 22 virtual void Initialize() OVERRIDE; |
| 23 virtual void Shutdown() OVERRIDE; | 23 virtual void Shutdown() OVERRIDE; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 scoped_ptr<MessageLoop> message_loop_; | 26 scoped_ptr<MessageLoop> message_loop_; |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 #endif // UI_GFX_COMPOSITOR_TEST_TEST_SUITE_H_ | 29 #endif // UI_GFX_COMPOSITOR_TEST_TEST_SUITE_H_ |
| OLD | NEW |