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 #include "cc/test/test_context_support.h" | 5 #include "cc/test/test_context_support.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 TestContextSupport::TestContextSupport() | 17 TestContextSupport::TestContextSupport() |
18 : out_of_order_callbacks_(false), weak_ptr_factory_(this) {} | 18 : out_of_order_callbacks_(false), weak_ptr_factory_(this) {} |
19 | 19 |
20 TestContextSupport::~TestContextSupport() {} | 20 TestContextSupport::~TestContextSupport() {} |
21 | 21 |
22 void TestContextSupport::SignalSyncToken(const gpu::SyncToken& sync_token, | 22 void TestContextSupport::SignalSyncToken(const gpu::SyncToken& sync_token, |
23 const base::Closure& callback) { | 23 const base::Closure& callback) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 uint64_t TestContextSupport::ShareGroupTracingGUID() const { | 86 uint64_t TestContextSupport::ShareGroupTracingGUID() const { |
87 NOTIMPLEMENTED(); | 87 NOTIMPLEMENTED(); |
88 return 0; | 88 return 0; |
89 } | 89 } |
90 | 90 |
91 void TestContextSupport::SetErrorMessageCallback( | 91 void TestContextSupport::SetErrorMessageCallback( |
92 const base::Callback<void(const char*, int32_t)>& callback) {} | 92 const base::Callback<void(const char*, int32_t)>& callback) {} |
93 | 93 |
94 } // namespace cc | 94 } // namespace cc |
OLD | NEW |