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/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <map> | 9 #include <map> |
10 #include <utility> | 10 #include <utility> |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 #include "ipc/ipc_channel_mojo.h" | 132 #include "ipc/ipc_channel_mojo.h" |
133 #include "ipc/ipc_platform_file.h" | 133 #include "ipc/ipc_platform_file.h" |
134 #include "media/base/media.h" | 134 #include "media/base/media.h" |
135 #include "media/renderers/gpu_video_accelerator_factories.h" | 135 #include "media/renderers/gpu_video_accelerator_factories.h" |
136 #include "mojo/common/common_type_converters.h" | 136 #include "mojo/common/common_type_converters.h" |
137 #include "mojo/public/cpp/bindings/strong_binding.h" | 137 #include "mojo/public/cpp/bindings/strong_binding.h" |
138 #include "net/base/net_errors.h" | 138 #include "net/base/net_errors.h" |
139 #include "net/base/port_util.h" | 139 #include "net/base/port_util.h" |
140 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 140 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
141 #include "net/base/url_util.h" | 141 #include "net/base/url_util.h" |
142 #include "services/shell/public/cpp/interface_provider.h" | 142 #include "services/service_manager/public/cpp/interface_provider.h" |
143 #include "services/shell/public/cpp/interface_registry.h" | 143 #include "services/service_manager/public/cpp/interface_registry.h" |
144 #include "skia/ext/event_tracer_impl.h" | 144 #include "skia/ext/event_tracer_impl.h" |
145 #include "skia/ext/skia_memory_dump_provider.h" | 145 #include "skia/ext/skia_memory_dump_provider.h" |
146 #include "third_party/WebKit/public/platform/WebImageGenerator.h" | 146 #include "third_party/WebKit/public/platform/WebImageGenerator.h" |
147 #include "third_party/WebKit/public/platform/WebMemoryCoordinator.h" | 147 #include "third_party/WebKit/public/platform/WebMemoryCoordinator.h" |
148 #include "third_party/WebKit/public/platform/WebString.h" | 148 #include "third_party/WebKit/public/platform/WebString.h" |
149 #include "third_party/WebKit/public/platform/WebThread.h" | 149 #include "third_party/WebKit/public/platform/WebThread.h" |
150 #include "third_party/WebKit/public/platform/scheduler/child/compositor_worker_s
cheduler.h" | 150 #include "third_party/WebKit/public/platform/scheduler/child/compositor_worker_s
cheduler.h" |
151 #include "third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_
worker_scheduler.h" | 151 #include "third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_
worker_scheduler.h" |
152 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 152 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
153 #include "third_party/WebKit/public/web/WebCache.h" | 153 #include "third_party/WebKit/public/web/WebCache.h" |
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2357 } | 2357 } |
2358 } | 2358 } |
2359 | 2359 |
2360 void RenderThreadImpl::OnRendererInterfaceRequest( | 2360 void RenderThreadImpl::OnRendererInterfaceRequest( |
2361 mojom::RendererAssociatedRequest request) { | 2361 mojom::RendererAssociatedRequest request) { |
2362 DCHECK(!renderer_binding_.is_bound()); | 2362 DCHECK(!renderer_binding_.is_bound()); |
2363 renderer_binding_.Bind(std::move(request)); | 2363 renderer_binding_.Bind(std::move(request)); |
2364 } | 2364 } |
2365 | 2365 |
2366 } // namespace content | 2366 } // namespace content |
OLD | NEW |