Chromium Code Reviews| 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 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <memory> | 12 #include <memory> |
| 13 #include <queue> | 13 #include <queue> |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
| 19 #include "base/process/process.h" | 19 #include "base/process/process.h" |
| 20 #include "base/single_thread_task_runner.h" | 20 #include "base/single_thread_task_runner.h" |
| 21 #include "base/synchronization/waitable_event.h" | 21 #include "base/synchronization/waitable_event.h" |
| 22 #include "build/build_config.h" | 22 #include "build/build_config.h" |
| 23 #include "content/browser/child_process_launcher.h" | 23 #include "content/browser/child_process_launcher.h" |
| 24 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 24 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 25 #include "content/browser/renderer_host/media/audio_stream_registry_impl.h" | |
| 25 #include "content/browser/webrtc/webrtc_eventlog_host.h" | 26 #include "content/browser/webrtc/webrtc_eventlog_host.h" |
| 26 #include "content/common/associated_interfaces.mojom.h" | 27 #include "content/common/associated_interfaces.mojom.h" |
| 27 #include "content/common/content_export.h" | 28 #include "content/common/content_export.h" |
| 28 #include "content/common/renderer.mojom.h" | 29 #include "content/common/renderer.mojom.h" |
| 29 #include "content/public/browser/render_process_host.h" | 30 #include "content/public/browser/render_process_host.h" |
| 30 #include "content/public/common/service_manager_connection.h" | 31 #include "content/public/common/service_manager_connection.h" |
| 31 #include "ipc/ipc_channel_proxy.h" | 32 #include "ipc/ipc_channel_proxy.h" |
| 32 #include "ipc/ipc_platform_file.h" | 33 #include "ipc/ipc_platform_file.h" |
| 33 #include "media/media_features.h" | 34 #include "media/media_features.h" |
| 34 #include "mojo/public/cpp/bindings/associated_binding.h" | 35 #include "mojo/public/cpp/bindings/associated_binding.h" |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 522 bool gpu_observer_registered_; | 523 bool gpu_observer_registered_; |
| 523 | 524 |
| 524 // Set if a call to Cleanup is required once the RenderProcessHostImpl is no | 525 // Set if a call to Cleanup is required once the RenderProcessHostImpl is no |
| 525 // longer within the RenderProcessHostObserver::RenderProcessExited callbacks. | 526 // longer within the RenderProcessHostObserver::RenderProcessExited callbacks. |
| 526 bool delayed_cleanup_needed_; | 527 bool delayed_cleanup_needed_; |
| 527 | 528 |
| 528 // Indicates whether RenderProcessHostImpl is currently iterating and calling | 529 // Indicates whether RenderProcessHostImpl is currently iterating and calling |
| 529 // through RenderProcessHostObserver::RenderProcessExited. | 530 // through RenderProcessHostObserver::RenderProcessExited. |
| 530 bool within_process_died_observer_; | 531 bool within_process_died_observer_; |
| 531 | 532 |
| 533 AudioStreamRegistryImpl::UniquePtr audio_stream_registry_; | |
|
o1ka
2016/12/22 10:46:52
Where will it live in audio process?
| |
| 534 | |
| 532 scoped_refptr<AudioRendererHost> audio_renderer_host_; | 535 scoped_refptr<AudioRendererHost> audio_renderer_host_; |
| 533 | 536 |
| 534 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; | 537 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; |
| 535 | 538 |
| 536 #if BUILDFLAG(ENABLE_WEBRTC) | 539 #if BUILDFLAG(ENABLE_WEBRTC) |
| 537 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; | 540 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; |
| 538 | 541 |
| 539 // Must be accessed on UI thread. | 542 // Must be accessed on UI thread. |
| 540 std::vector<int> aec_dump_consumers_; | 543 std::vector<int> aec_dump_consumers_; |
| 541 | 544 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 588 instance_weak_factory_; | 591 instance_weak_factory_; |
| 589 | 592 |
| 590 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 593 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 591 | 594 |
| 592 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 595 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 593 }; | 596 }; |
| 594 | 597 |
| 595 } // namespace content | 598 } // namespace content |
| 596 | 599 |
| 597 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 600 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |