Harald Alvestrand 6216693363 Change PeerConnection creation to use a static "Create" method
This allows making more members (including IsUnifiedPlan) const in a future CL.

Also revises the test for ReportUsageHistogram to use a configuration member
variable rather than a hook function in PeerConnectionFactory.

Bug: webrtc:12079
Change-Id: I6f1af7d6164c8a0d8466f76378a925d72d57d685
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/190280
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32485}
2020-10-26 10:04:06 +00:00
..
2020-10-23 15:14:22 +00:00
2020-07-07 18:25:09 +00:00
2020-01-22 20:46:52 +00:00
2019-07-08 13:45:15 +00:00
2020-02-25 14:45:04 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2020-07-07 18:25:09 +00:00
2019-11-05 09:40:03 +00:00
2020-07-15 20:45:13 +00:00
2020-07-15 20:45:13 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00