| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 25 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 26 #include "content/browser/renderer_host/frame_sink_provider_impl.h" | 26 #include "content/browser/renderer_host/frame_sink_provider_impl.h" |
| 27 #include "content/browser/renderer_host/offscreen_canvas_provider_impl.h" | 27 #include "content/browser/renderer_host/offscreen_canvas_provider_impl.h" |
| 28 #include "content/browser/webrtc/webrtc_eventlog_host.h" | 28 #include "content/browser/webrtc/webrtc_eventlog_host.h" |
| 29 #include "content/common/associated_interface_registry_impl.h" | 29 #include "content/common/associated_interface_registry_impl.h" |
| 30 #include "content/common/associated_interfaces.mojom.h" | 30 #include "content/common/associated_interfaces.mojom.h" |
| 31 #include "content/common/content_export.h" | 31 #include "content/common/content_export.h" |
| 32 #include "content/common/indexed_db/indexed_db.mojom.h" | 32 #include "content/common/indexed_db/indexed_db.mojom.h" |
| 33 #include "content/common/renderer.mojom.h" | 33 #include "content/common/renderer.mojom.h" |
| 34 #include "content/common/storage_partition_service.mojom.h" | 34 #include "content/common/storage_partition_service.mojom.h" |
| 35 #include "content/common/url_loader_factory.mojom.h" |
| 35 #include "content/public/browser/render_process_host.h" | 36 #include "content/public/browser/render_process_host.h" |
| 36 #include "content/public/common/service_manager_connection.h" | 37 #include "content/public/common/service_manager_connection.h" |
| 37 #include "ipc/ipc_channel_proxy.h" | 38 #include "ipc/ipc_channel_proxy.h" |
| 38 #include "ipc/ipc_platform_file.h" | 39 #include "ipc/ipc_platform_file.h" |
| 39 #include "media/media_features.h" | 40 #include "media/media_features.h" |
| 40 #include "mojo/edk/embedder/outgoing_broker_client_invitation.h" | 41 #include "mojo/edk/embedder/outgoing_broker_client_invitation.h" |
| 41 #include "mojo/public/cpp/bindings/associated_binding.h" | 42 #include "mojo/public/cpp/bindings/associated_binding.h" |
| 42 #include "mojo/public/cpp/bindings/associated_binding_set.h" | 43 #include "mojo/public/cpp/bindings/associated_binding_set.h" |
| 43 #include "mojo/public/cpp/bindings/interface_ptr.h" | 44 #include "mojo/public/cpp/bindings/interface_ptr.h" |
| 44 #include "services/service_manager/public/cpp/binder_registry.h" | 45 #include "services/service_manager/public/cpp/binder_registry.h" |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 void CreateMusGpuRequest(const service_manager::BindSourceInfo& source_info, | 364 void CreateMusGpuRequest(const service_manager::BindSourceInfo& source_info, |
| 364 ui::mojom::GpuRequest request); | 365 ui::mojom::GpuRequest request); |
| 365 void CreateOffscreenCanvasProvider( | 366 void CreateOffscreenCanvasProvider( |
| 366 const service_manager::BindSourceInfo& source_info, | 367 const service_manager::BindSourceInfo& source_info, |
| 367 blink::mojom::OffscreenCanvasProviderRequest request); | 368 blink::mojom::OffscreenCanvasProviderRequest request); |
| 368 void BindFrameSinkProvider(const service_manager::BindSourceInfo& source_info, | 369 void BindFrameSinkProvider(const service_manager::BindSourceInfo& source_info, |
| 369 mojom::FrameSinkProviderRequest request); | 370 mojom::FrameSinkProviderRequest request); |
| 370 void CreateStoragePartitionService( | 371 void CreateStoragePartitionService( |
| 371 const service_manager::BindSourceInfo& source_info, | 372 const service_manager::BindSourceInfo& source_info, |
| 372 mojom::StoragePartitionServiceRequest request); | 373 mojom::StoragePartitionServiceRequest request); |
| 374 void CreateURLLoaderFactory( |
| 375 const service_manager::BindSourceInfo& source_info, |
| 376 mojom::URLLoaderFactoryRequest request); |
| 373 | 377 |
| 374 // Control message handlers. | 378 // Control message handlers. |
| 375 void OnShutdownRequest(); | 379 void OnShutdownRequest(); |
| 376 void SuddenTerminationChanged(bool enabled); | 380 void SuddenTerminationChanged(bool enabled); |
| 377 void OnUserMetricsRecordAction(const std::string& action); | 381 void OnUserMetricsRecordAction(const std::string& action); |
| 378 void OnCloseACK(int old_route_id); | 382 void OnCloseACK(int old_route_id); |
| 379 | 383 |
| 380 // Generates a command line to be used to spawn a renderer and appends the | 384 // Generates a command line to be used to spawn a renderer and appends the |
| 381 // results to |*command_line|. | 385 // results to |*command_line|. |
| 382 void AppendRendererCommandLine(base::CommandLine* command_line); | 386 void AppendRendererCommandLine(base::CommandLine* command_line); |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 FrameSinkProviderImpl frame_sink_provider_; | 663 FrameSinkProviderImpl frame_sink_provider_; |
| 660 | 664 |
| 661 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 665 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 662 | 666 |
| 663 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 667 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 664 }; | 668 }; |
| 665 | 669 |
| 666 } // namespace content | 670 } // namespace content |
| 667 | 671 |
| 668 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 672 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |