OLD | NEW |
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/child_process_host_impl.h" | 5 #include "content/common/child_process_host_impl.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/atomic_sequence_num.h" | 9 #include "base/atomic_sequence_num.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" | 22 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "content/common/child_process_messages.h" | 24 #include "content/common/child_process_messages.h" |
25 #include "content/public/common/child_process_host_delegate.h" | 25 #include "content/public/common/child_process_host_delegate.h" |
26 #include "content/public/common/content_paths.h" | 26 #include "content/public/common/content_paths.h" |
27 #include "content/public/common/content_switches.h" | 27 #include "content/public/common/content_switches.h" |
28 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" | 28 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" |
29 #include "ipc/attachment_broker.h" | 29 #include "ipc/attachment_broker.h" |
30 #include "ipc/attachment_broker_privileged.h" | 30 #include "ipc/attachment_broker_privileged.h" |
31 #include "ipc/ipc_channel.h" | 31 #include "ipc/ipc_channel.h" |
| 32 #include "ipc/ipc_channel_mojo.h" |
32 #include "ipc/ipc_logging.h" | 33 #include "ipc/ipc_logging.h" |
33 #include "ipc/message_filter.h" | 34 #include "ipc/message_filter.h" |
34 #include "ipc/mojo/ipc_channel_mojo.h" | |
35 #include "mojo/edk/embedder/embedder.h" | 35 #include "mojo/edk/embedder/embedder.h" |
36 | 36 |
37 #if defined(OS_LINUX) | 37 #if defined(OS_LINUX) |
38 #include "base/linux_util.h" | 38 #include "base/linux_util.h" |
39 #elif defined(OS_WIN) | 39 #elif defined(OS_WIN) |
40 #include "content/common/font_cache_dispatcher_win.h" | 40 #include "content/common/font_cache_dispatcher_win.h" |
41 #endif // OS_LINUX | 41 #endif // OS_LINUX |
42 | 42 |
43 namespace { | 43 namespace { |
44 | 44 |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 } | 353 } |
354 | 354 |
355 void ChildProcessHostImpl::OnDeletedGpuMemoryBuffer( | 355 void ChildProcessHostImpl::OnDeletedGpuMemoryBuffer( |
356 gfx::GpuMemoryBufferId id, | 356 gfx::GpuMemoryBufferId id, |
357 const gpu::SyncToken& sync_token) { | 357 const gpu::SyncToken& sync_token) { |
358 // Note: Nothing to do here as ownership of shared memory backed | 358 // Note: Nothing to do here as ownership of shared memory backed |
359 // GpuMemoryBuffers is passed with IPC. | 359 // GpuMemoryBuffers is passed with IPC. |
360 } | 360 } |
361 | 361 |
362 } // namespace content | 362 } // namespace content |
OLD | NEW |