| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |  | 
| 2 // Use of this source code is governed by a BSD-style license that can be |  | 
| 3 // found in the LICENSE file. |  | 
| 4 |  | 
| 5 #ifndef COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_TEST_SUITE_H_ |  | 
| 6 #define COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_TEST_SUITE_H_ |  | 
| 7 |  | 
| 8 #include <memory> |  | 
| 9 |  | 
| 10 #include "base/macros.h" |  | 
| 11 #include "base/test/test_discardable_memory_allocator.h" |  | 
| 12 #include "base/test/test_suite.h" |  | 
| 13 |  | 
| 14 namespace base { |  | 
| 15 class MessageLoop; |  | 
| 16 } |  | 
| 17 |  | 
| 18 namespace display_compositor { |  | 
| 19 |  | 
| 20 class DisplayCompositorTestSuite : public base::TestSuite { |  | 
| 21  public: |  | 
| 22   DisplayCompositorTestSuite(int argc, char** argv); |  | 
| 23   ~DisplayCompositorTestSuite() override; |  | 
| 24 |  | 
| 25  protected: |  | 
| 26   // Overridden from base::TestSuite: |  | 
| 27   void Initialize() override; |  | 
| 28   void Shutdown() override; |  | 
| 29 |  | 
| 30  private: |  | 
| 31   std::unique_ptr<base::MessageLoop> message_loop_; |  | 
| 32 |  | 
| 33   base::TestDiscardableMemoryAllocator discardable_memory_allocator_; |  | 
| 34   DISALLOW_COPY_AND_ASSIGN(DisplayCompositorTestSuite); |  | 
| 35 }; |  | 
| 36 |  | 
| 37 }  // namespace display_compositor |  | 
| 38 |  | 
| 39 #endif  // COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_TEST_SUITE_H_ |  | 
| OLD | NEW | 
|---|