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_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
(...skipping 21 matching lines...) Expand all Loading... |
32 namespace gfx { | 32 namespace gfx { |
33 class Size; | 33 class Size; |
34 } | 34 } |
35 | 35 |
36 namespace content { | 36 namespace content { |
37 class AudioRendererHost; | 37 class AudioRendererHost; |
38 class BrowserDemuxerAndroid; | 38 class BrowserDemuxerAndroid; |
39 class GpuMessageFilter; | 39 class GpuMessageFilter; |
40 class MessagePortMessageFilter; | 40 class MessagePortMessageFilter; |
41 class MojoApplicationHost; | 41 class MojoApplicationHost; |
42 #if defined(ENABLE_WEBRTC) | |
43 class P2PSocketDispatcherHost; | |
44 #endif | |
45 class PeerConnectionTrackerHost; | 42 class PeerConnectionTrackerHost; |
46 class RendererMainThread; | 43 class RendererMainThread; |
47 class RenderProcessHostMojoImpl; | 44 class RenderProcessHostMojoImpl; |
48 class RenderWidgetHelper; | 45 class RenderWidgetHelper; |
49 class RenderWidgetHost; | 46 class RenderWidgetHost; |
50 class RenderWidgetHostImpl; | 47 class RenderWidgetHostImpl; |
51 class RenderWidgetHostViewFrameSubscriber; | 48 class RenderWidgetHostViewFrameSubscriber; |
52 class ScreenOrientationDispatcherHost; | 49 class ScreenOrientationDispatcherHost; |
53 class StoragePartition; | 50 class StoragePartition; |
54 class StoragePartitionImpl; | 51 class StoragePartitionImpl; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; | 119 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; |
123 virtual bool FastShutdownStarted() const OVERRIDE; | 120 virtual bool FastShutdownStarted() const OVERRIDE; |
124 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; | 121 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; |
125 virtual void ResumeRequestsForView(int route_id) OVERRIDE; | 122 virtual void ResumeRequestsForView(int route_id) OVERRIDE; |
126 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE; | 123 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE; |
127 #if defined(ENABLE_WEBRTC) | 124 #if defined(ENABLE_WEBRTC) |
128 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; | 125 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; |
129 virtual void DisableAecDump() OVERRIDE; | 126 virtual void DisableAecDump() OVERRIDE; |
130 virtual void SetWebRtcLogMessageCallback( | 127 virtual void SetWebRtcLogMessageCallback( |
131 base::Callback<void(const std::string&)> callback) OVERRIDE; | 128 base::Callback<void(const std::string&)> callback) OVERRIDE; |
132 virtual WebRtcStopRtpDumpCallback StartRtpDump( | |
133 bool incoming, | |
134 bool outgoing, | |
135 const WebRtcRtpPacketCallback& packet_callback) OVERRIDE; | |
136 #endif | 129 #endif |
137 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) | 130 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) |
138 OVERRIDE; | 131 OVERRIDE; |
139 virtual void NotifyTimezoneChange() OVERRIDE; | 132 virtual void NotifyTimezoneChange() OVERRIDE; |
140 | 133 |
141 // IPC::Sender via RenderProcessHost. | 134 // IPC::Sender via RenderProcessHost. |
142 virtual bool Send(IPC::Message* msg) OVERRIDE; | 135 virtual bool Send(IPC::Message* msg) OVERRIDE; |
143 | 136 |
144 // IPC::Listener via RenderProcessHost. | 137 // IPC::Listener via RenderProcessHost. |
145 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 138 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; | 406 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; |
414 | 407 |
415 scoped_refptr<AudioRendererHost> audio_renderer_host_; | 408 scoped_refptr<AudioRendererHost> audio_renderer_host_; |
416 | 409 |
417 #if defined(OS_ANDROID) | 410 #if defined(OS_ANDROID) |
418 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; | 411 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; |
419 #endif | 412 #endif |
420 | 413 |
421 #if defined(ENABLE_WEBRTC) | 414 #if defined(ENABLE_WEBRTC) |
422 base::Callback<void(const std::string&)> webrtc_log_message_callback_; | 415 base::Callback<void(const std::string&)> webrtc_log_message_callback_; |
423 | |
424 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; | |
425 | |
426 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; | |
427 #endif | 416 #endif |
428 | 417 |
429 // Message filter and dispatcher for screen orientation. | 418 // Message filter and dispatcher for screen orientation. |
430 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; | 419 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; |
431 | 420 |
432 int worker_ref_count_; | 421 int worker_ref_count_; |
433 | 422 |
434 // Records the time when the process starts surviving for workers for UMA. | 423 // Records the time when the process starts surviving for workers for UMA. |
435 base::TimeTicks survive_for_worker_start_time_; | 424 base::TimeTicks survive_for_worker_start_time_; |
436 | 425 |
437 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 426 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
438 | 427 |
439 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 428 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
440 }; | 429 }; |
441 | 430 |
442 } // namespace content | 431 } // namespace content |
443 | 432 |
444 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 433 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |