Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 334743006: Support multiple files for AEC dump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review (sky). Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cd7ec890fdd2e2490ac686918a6a51b0e3727693..f4a90d83d6ef051c1a2d29ddbcf63ec6755629bd 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -328,8 +328,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
@@ -448,6 +454,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

Powered by Google App Engine
This is Rietveld 408576698