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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 53 } |
54 | 54 |
55 namespace IPC { | 55 namespace IPC { |
56 class ChannelMojoHost; | 56 class ChannelMojoHost; |
57 } | 57 } |
58 | 58 |
59 namespace content { | 59 namespace content { |
60 class AudioInputRendererHost; | 60 class AudioInputRendererHost; |
61 class AudioRendererHost; | 61 class AudioRendererHost; |
62 class BrowserCdmManager; | 62 class BrowserCdmManager; |
63 class BrowserDemuxerAndroid; | |
64 class InProcessChildThreadParams; | 63 class InProcessChildThreadParams; |
65 class MessagePortMessageFilter; | 64 class MessagePortMessageFilter; |
66 class MojoChildConnection; | 65 class MojoChildConnection; |
67 class NotificationMessageFilter; | 66 class NotificationMessageFilter; |
68 #if defined(ENABLE_WEBRTC) | 67 #if defined(ENABLE_WEBRTC) |
69 class P2PSocketDispatcherHost; | 68 class P2PSocketDispatcherHost; |
70 #endif | 69 #endif |
71 class PermissionServiceContext; | 70 class PermissionServiceContext; |
72 class PeerConnectionTrackerHost; | 71 class PeerConnectionTrackerHost; |
73 class RendererMainThread; | 72 class RendererMainThread; |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 | 256 |
258 static void RegisterRendererMainThreadFactory( | 257 static void RegisterRendererMainThreadFactory( |
259 RendererMainThreadFactoryFunction create); | 258 RendererMainThreadFactoryFunction create); |
260 | 259 |
261 // TODO(alokp): Remove after collecting crash data. | 260 // TODO(alokp): Remove after collecting crash data. |
262 // Temporary checks to verify that all shared workers are terminated. | 261 // Temporary checks to verify that all shared workers are terminated. |
263 // It is suspected that shared workers prevent render process hosts | 262 // It is suspected that shared workers prevent render process hosts |
264 // from shutting down: crbug.com/608049 | 263 // from shutting down: crbug.com/608049 |
265 static void CheckAllWorkersTerminated(); | 264 static void CheckAllWorkersTerminated(); |
266 | 265 |
267 #if defined(OS_ANDROID) | |
268 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { | |
269 return browser_demuxer_android_; | |
270 } | |
271 #endif | |
272 | |
273 RenderFrameMessageFilter* render_frame_message_filter_for_testing() const { | 266 RenderFrameMessageFilter* render_frame_message_filter_for_testing() const { |
274 return render_frame_message_filter_.get(); | 267 return render_frame_message_filter_.get(); |
275 } | 268 } |
276 | 269 |
277 MessagePortMessageFilter* message_port_message_filter() const { | 270 MessagePortMessageFilter* message_port_message_filter() const { |
278 return message_port_message_filter_.get(); | 271 return message_port_message_filter_.get(); |
279 } | 272 } |
280 | 273 |
281 NotificationMessageFilter* notification_message_filter() const { | 274 NotificationMessageFilter* notification_message_filter() const { |
282 return notification_message_filter_.get(); | 275 return notification_message_filter_.get(); |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 // through RenderProcessHostObserver::RenderProcessExited. | 538 // through RenderProcessHostObserver::RenderProcessExited. |
546 bool within_process_died_observer_; | 539 bool within_process_died_observer_; |
547 | 540 |
548 // Forwards power state messages to the renderer process. | 541 // Forwards power state messages to the renderer process. |
549 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; | 542 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; |
550 | 543 |
551 scoped_refptr<AudioRendererHost> audio_renderer_host_; | 544 scoped_refptr<AudioRendererHost> audio_renderer_host_; |
552 | 545 |
553 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; | 546 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; |
554 | 547 |
555 #if defined(OS_ANDROID) | |
556 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; | |
557 #endif | |
558 | |
559 #if defined(ENABLE_WEBRTC) | 548 #if defined(ENABLE_WEBRTC) |
560 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; | 549 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; |
561 | 550 |
562 // Must be accessed on UI thread. | 551 // Must be accessed on UI thread. |
563 std::vector<int> aec_dump_consumers_; | 552 std::vector<int> aec_dump_consumers_; |
564 | 553 |
565 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; | 554 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; |
566 | 555 |
567 WebRTCEventLogHost webrtc_eventlog_host_; | 556 WebRTCEventLogHost webrtc_eventlog_host_; |
568 #endif | 557 #endif |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 instance_weak_factory_; | 598 instance_weak_factory_; |
610 | 599 |
611 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 600 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
612 | 601 |
613 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 602 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
614 }; | 603 }; |
615 | 604 |
616 } // namespace content | 605 } // namespace content |
617 | 606 |
618 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 607 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |