Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: components/display_compositor/display_compositor_test_suite.h

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698