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

Side by Side Diff: content/common/gpu/client/context_provider_command_buffer.cc

Issue 1974023002: Remove base/thread_task_runner_handle.h dummy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm duplicate Created 4 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
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/common/gpu/client/context_provider_command_buffer.h" 5 #include "content/common/gpu/client/context_provider_command_buffer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback_helpers.h" 14 #include "base/callback_helpers.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "cc/output/managed_memory_policy.h" 18 #include "cc/output/managed_memory_policy.h"
19 #include "content/common/gpu/client/command_buffer_metrics.h" 19 #include "content/common/gpu/client/command_buffer_metrics.h"
20 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 20 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
21 #include "gpu/command_buffer/client/gles2_implementation.h" 21 #include "gpu/command_buffer/client/gles2_implementation.h"
22 #include "gpu/command_buffer/client/gles2_trace_implementation.h" 22 #include "gpu/command_buffer/client/gles2_trace_implementation.h"
23 #include "gpu/command_buffer/client/gpu_switches.h" 23 #include "gpu/command_buffer/client/gpu_switches.h"
24 #include "gpu/command_buffer/client/transfer_buffer.h" 24 #include "gpu/command_buffer/client/transfer_buffer.h"
25 #include "gpu/command_buffer/common/constants.h" 25 #include "gpu/command_buffer/common/constants.h"
26 #include "gpu/ipc/client/command_buffer_proxy_impl.h" 26 #include "gpu/ipc/client/command_buffer_proxy_impl.h"
27 #include "gpu/ipc/client/gpu_channel_host.h" 27 #include "gpu/ipc/client/gpu_channel_host.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 328
329 void ContextProviderCommandBuffer::SetLostContextCallback( 329 void ContextProviderCommandBuffer::SetLostContextCallback(
330 const LostContextCallback& lost_context_callback) { 330 const LostContextCallback& lost_context_callback) {
331 DCHECK(context_thread_checker_.CalledOnValidThread()); 331 DCHECK(context_thread_checker_.CalledOnValidThread());
332 DCHECK(lost_context_callback_.is_null() || 332 DCHECK(lost_context_callback_.is_null() ||
333 lost_context_callback.is_null()); 333 lost_context_callback.is_null());
334 lost_context_callback_ = lost_context_callback; 334 lost_context_callback_ = lost_context_callback;
335 } 335 }
336 336
337 } // namespace content 337 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698