Chromium Code Reviews

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 264793017: Implements RTP header dumping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
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...)
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
42 class PeerConnectionTrackerHost; 45 class PeerConnectionTrackerHost;
43 class RendererMainThread; 46 class RendererMainThread;
44 class RenderProcessHostMojoImpl; 47 class RenderProcessHostMojoImpl;
45 class RenderWidgetHelper; 48 class RenderWidgetHelper;
46 class RenderWidgetHost; 49 class RenderWidgetHost;
47 class RenderWidgetHostImpl; 50 class RenderWidgetHostImpl;
48 class RenderWidgetHostViewFrameSubscriber; 51 class RenderWidgetHostViewFrameSubscriber;
49 class ScreenOrientationDispatcherHost; 52 class ScreenOrientationDispatcherHost;
50 class StoragePartition; 53 class StoragePartition;
51 class StoragePartitionImpl; 54 class StoragePartitionImpl;
(...skipping 67 matching lines...)
119 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; 122 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE;
120 virtual bool FastShutdownStarted() const OVERRIDE; 123 virtual bool FastShutdownStarted() const OVERRIDE;
121 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; 124 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE;
122 virtual void ResumeRequestsForView(int route_id) OVERRIDE; 125 virtual void ResumeRequestsForView(int route_id) OVERRIDE;
123 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE; 126 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE;
124 #if defined(ENABLE_WEBRTC) 127 #if defined(ENABLE_WEBRTC)
125 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; 128 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE;
126 virtual void DisableAecDump() OVERRIDE; 129 virtual void DisableAecDump() OVERRIDE;
127 virtual void SetWebRtcLogMessageCallback( 130 virtual void SetWebRtcLogMessageCallback(
128 base::Callback<void(const std::string&)> callback) OVERRIDE; 131 base::Callback<void(const std::string&)> callback) OVERRIDE;
132 virtual WebRtcStopRtpDumpCallback StartRtpDump(
133 RtpDumpType type,
134 const WebRtcRtpPacketCallback& packet_callback) OVERRIDE;
129 #endif 135 #endif
130 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) 136 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id)
131 OVERRIDE; 137 OVERRIDE;
132 virtual void NotifyTimezoneChange() OVERRIDE; 138 virtual void NotifyTimezoneChange() OVERRIDE;
133 139
134 // IPC::Sender via RenderProcessHost. 140 // IPC::Sender via RenderProcessHost.
135 virtual bool Send(IPC::Message* msg) OVERRIDE; 141 virtual bool Send(IPC::Message* msg) OVERRIDE;
136 142
137 // IPC::Listener via RenderProcessHost. 143 // IPC::Listener via RenderProcessHost.
138 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 144 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
(...skipping 266 matching lines...)
405 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; 411 PowerMonitorMessageBroadcaster power_monitor_broadcaster_;
406 412
407 scoped_refptr<AudioRendererHost> audio_renderer_host_; 413 scoped_refptr<AudioRendererHost> audio_renderer_host_;
408 414
409 #if defined(OS_ANDROID) 415 #if defined(OS_ANDROID)
410 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; 416 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_;
411 #endif 417 #endif
412 418
413 #if defined(ENABLE_WEBRTC) 419 #if defined(ENABLE_WEBRTC)
414 base::Callback<void(const std::string&)> webrtc_log_message_callback_; 420 base::Callback<void(const std::string&)> webrtc_log_message_callback_;
421
422 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_;
415 #endif 423 #endif
416 424
417 // Message filter and dispatcher for screen orientation. 425 // Message filter and dispatcher for screen orientation.
418 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; 426 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_;
419 427
420 int worker_ref_count_; 428 int worker_ref_count_;
421 429
422 // Records the time when the process starts surviving for workers for UMA. 430 // Records the time when the process starts surviving for workers for UMA.
423 base::TimeTicks survive_for_worker_start_time_; 431 base::TimeTicks survive_for_worker_start_time_;
424 432
425 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 433 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
426 434
427 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 435 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
428 }; 436 };
429 437
430 } // namespace content 438 } // namespace content
431 439
432 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 440 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine