Ensure that PC usage is recorded if a PC is alive for 60 seconds.

Bug: chromium:718508
Change-Id: Id2cbcb370b56cb8a6a6c821e0f89c51089cc8e6b
Reviewed-on: https://webrtc-review.googlesource.com/83140
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23723}
This commit is contained in:
Harald Alvestrand
2018-06-25 12:03:50 +02:00
committed by Commit Bot
parent bdee46d275
commit 1979384e40
6 changed files with 167 additions and 1 deletions

View File

@ -122,6 +122,10 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface {
explicit PeerConnectionFactory(
PeerConnectionFactoryDependencies dependencies);
// Hook to let testing framework insert actions between
// "new RTCPeerConnection" and "pc.Initialize"
virtual void ActionsBeforeInitializeForTesting(PeerConnectionInterface*) {}
virtual ~PeerConnectionFactory();
private: