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

Side by Side Diff: content/gpu/gpu_child_thread.cc

Issue 2758163004: gpu: Remove some ipc code no longer used. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/gpu/gpu_child_thread.h" 5 #include "content/gpu/gpu_child_thread.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/threading/thread_local.h" 14 #include "base/threading/thread_local.h"
15 #include "base/threading/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/threading/worker_pool.h" 16 #include "base/threading/worker_pool.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "content/child/child_process.h" 18 #include "content/child/child_process.h"
19 #include "content/child/thread_safe_sender.h" 19 #include "content/child/thread_safe_sender.h"
20 #include "content/common/establish_channel_params.h"
21 #include "content/common/gpu_host_messages.h" 20 #include "content/common/gpu_host_messages.h"
22 #include "content/gpu/gpu_service_factory.h" 21 #include "content/gpu/gpu_service_factory.h"
23 #include "content/public/common/content_client.h" 22 #include "content/public/common/content_client.h"
24 #include "content/public/common/content_switches.h" 23 #include "content/public/common/content_switches.h"
25 #include "content/public/common/service_manager_connection.h" 24 #include "content/public/common/service_manager_connection.h"
26 #include "content/public/gpu/content_gpu_client.h" 25 #include "content/public/gpu/content_gpu_client.h"
27 #include "gpu/command_buffer/common/activity_flags.h" 26 #include "gpu/command_buffer/common/activity_flags.h"
28 #include "gpu/command_buffer/service/gpu_switches.h" 27 #include "gpu/command_buffer/service/gpu_switches.h"
29 #include "gpu/command_buffer/service/sync_point_manager.h" 28 #include "gpu/command_buffer/service/sync_point_manager.h"
30 #include "gpu/config/gpu_info_collector.h" 29 #include "gpu/config/gpu_info_collector.h"
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 419
421 void GpuChildThread::BindServiceFactoryRequest( 420 void GpuChildThread::BindServiceFactoryRequest(
422 service_manager::mojom::ServiceFactoryRequest request) { 421 service_manager::mojom::ServiceFactoryRequest request) {
423 DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest"; 422 DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest";
424 DCHECK(service_factory_); 423 DCHECK(service_factory_);
425 service_factory_bindings_.AddBinding(service_factory_.get(), 424 service_factory_bindings_.AddBinding(service_factory_.get(),
426 std::move(request)); 425 std::move(request));
427 } 426 }
428 427
429 } // namespace content 428 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698