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

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

Issue 1799713002: gpu_host_messages.h => content/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed an unnecessary include Created 4 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/gpu_channel_host.h" 5 #include "content/common/gpu/client/gpu_channel_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/atomic_sequence_num.h" 10 #include "base/atomic_sequence_num.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/posix/eintr_wrapper.h" 13 #include "base/posix/eintr_wrapper.h"
14 #include "base/profiler/scoped_tracker.h" 14 #include "base/profiler/scoped_tracker.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
17 #include "base/threading/thread_restrictions.h" 17 #include "base/threading/thread_restrictions.h"
18 #include "base/trace_event/trace_event.h" 18 #include "base/trace_event/trace_event.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "content/common/gpu/client/command_buffer_proxy_impl.h" 20 #include "content/common/gpu/client/command_buffer_proxy_impl.h"
21 #include "content/common/gpu/gpu_messages.h" 21 #include "content/common/gpu/gpu_messages.h"
22 #include "content/common/gpu/gpu_param_traits_macros.h"
22 #include "ipc/ipc_sync_message_filter.h" 23 #include "ipc/ipc_sync_message_filter.h"
23 #include "url/gurl.h" 24 #include "url/gurl.h"
24 25
25 using base::AutoLock; 26 using base::AutoLock;
26 27
27 namespace content { 28 namespace content {
28 namespace { 29 namespace {
29 30
30 // Global atomic to generate unique transfer buffer IDs. 31 // Global atomic to generate unique transfer buffer IDs.
31 base::StaticAtomicSequenceNumber g_next_transfer_buffer_id; 32 base::StaticAtomicSequenceNumber g_next_transfer_buffer_id;
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 472
472 listeners_.clear(); 473 listeners_.clear();
473 } 474 }
474 475
475 bool GpuChannelHost::MessageFilter::IsLost() const { 476 bool GpuChannelHost::MessageFilter::IsLost() const {
476 AutoLock lock(lock_); 477 AutoLock lock(lock_);
477 return lost_; 478 return lost_;
478 } 479 }
479 480
480 } // namespace content 481 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698