OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CC_DEBUG_TEST_CONTEXT_SUPPORT_H_ | 5 #ifndef CC_TEST_TEST_CONTEXT_SUPPORT_H_ |
6 #define CC_DEBUG_TEST_CONTEXT_SUPPORT_H_ | 6 #define CC_TEST_TEST_CONTEXT_SUPPORT_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "gpu/command_buffer/client/context_support.h" | 10 #include "gpu/command_buffer/client/context_support.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 class TestContextSupport : public gpu::ContextSupport { | 14 class TestContextSupport : public gpu::ContextSupport { |
15 public: | 15 public: |
16 TestContextSupport(); | 16 TestContextSupport(); |
(...skipping 10 matching lines...) Expand all Loading... |
27 void CallAllSyncPointCallbacks(); | 27 void CallAllSyncPointCallbacks(); |
28 | 28 |
29 private: | 29 private: |
30 std::vector<base::Closure> sync_point_callbacks_; | 30 std::vector<base::Closure> sync_point_callbacks_; |
31 | 31 |
32 DISALLOW_COPY_AND_ASSIGN(TestContextSupport); | 32 DISALLOW_COPY_AND_ASSIGN(TestContextSupport); |
33 }; | 33 }; |
34 | 34 |
35 } // namespace cc | 35 } // namespace cc |
36 | 36 |
37 #endif // CC_DEBUG_TEST_CONTEXT_SUPPORT_H_ | 37 #endif // CC_TEST_TEST_CONTEXT_SUPPORT_H_ |
OLD | NEW |