Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index 32e342dcdbdc80fe0f9859948cc5dcfe8ca29772..2728626246e884bb12101ca5c409831f63675df7 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -324,8 +324,14 @@ class CONTENT_EXPORT RenderProcessHostImpl |
virtual void OnGpuSwitching() OVERRIDE; |
#if defined(ENABLE_WEBRTC) |
+ void OnRegisterAecDumpConsumer(int id); |
+ void OnUnregisterAecDumpConsumer(int id); |
+ void RegisterAecDumpConsumerOnUIThread(int id); |
+ void UnregisterAecDumpConsumerOnUIThread(int id); |
+ void EnableAecDumpForId(const base::FilePath& file, int id); |
// Sends |file_for_transit| to the render process. |
- void SendAecDumpFileToRenderer(IPC::PlatformFileForTransit file_for_transit); |
+ void SendAecDumpFileToRenderer(int id, |
+ IPC::PlatformFileForTransit file_for_transit); |
void SendDisableAecDumpToRenderer(); |
#endif |
@@ -444,6 +450,9 @@ class CONTENT_EXPORT RenderProcessHostImpl |
scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; |
+ // Must be accessed on UI thread. |
+ std::vector<int> aec_dump_consumers_; |
+ |
WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; |
#endif |