Index: webrtc/pc/peerconnectioninterface_unittest.cc |
diff --git a/webrtc/pc/peerconnectioninterface_unittest.cc b/webrtc/pc/peerconnectioninterface_unittest.cc |
index ae2c873a3f74a66b3ae197d7856a6a12171fc6a8..8b8b49c7223fee5cf7f6998d7336156111fa8560 100644 |
--- a/webrtc/pc/peerconnectioninterface_unittest.cc |
+++ b/webrtc/pc/peerconnectioninterface_unittest.cc |
@@ -634,10 +634,10 @@ class MockPeerConnectionObserver : public PeerConnectionObserver { |
} // namespace |
-// The PeerConnectionMediaConfig tests below verify that configuration |
-// and constraints are propagated into the MediaConfig passed to |
-// CreateMediaController. These settings are intended for MediaChannel |
-// constructors, but that is not exercised by these unittest. |
+// The PeerConnectionMediaConfig tests below verify that configuration and |
+// constraints are propagated into the PeerConnection's MediaConfig. These |
+// settings are intended for MediaChannel constructors, but that is not |
+// exercised by these unittest. |
class PeerConnectionFactoryForTest : public webrtc::PeerConnectionFactory { |
public: |
PeerConnectionFactoryForTest() |
@@ -3333,7 +3333,7 @@ TEST_F(PeerConnectionMediaConfigTest, TestDefaults) { |
} |
// This test verifies the DSCP constraint is recognized and passed to |
-// the CreateMediaController call. |
+// the PeerConnection. |
TEST_F(PeerConnectionMediaConfigTest, TestDscpConstraintTrue) { |
PeerConnectionInterface::RTCConfiguration config; |
FakeConstraints constraints; |
@@ -3346,7 +3346,7 @@ TEST_F(PeerConnectionMediaConfigTest, TestDscpConstraintTrue) { |
} |
// This test verifies the cpu overuse detection constraint is |
-// recognized and passed to the CreateMediaController call. |
+// recognized and passed to the PeerConnection. |
TEST_F(PeerConnectionMediaConfigTest, TestCpuOveruseConstraintFalse) { |
PeerConnectionInterface::RTCConfiguration config; |
FakeConstraints constraints; |
@@ -3360,7 +3360,7 @@ TEST_F(PeerConnectionMediaConfigTest, TestCpuOveruseConstraintFalse) { |
} |
// This test verifies that the disable_prerenderer_smoothing flag is |
-// propagated from RTCConfiguration to the CreateMediaController call. |
+// propagated from RTCConfiguration to the PeerConnection. |
TEST_F(PeerConnectionMediaConfigTest, TestDisablePrerendererSmoothingTrue) { |
PeerConnectionInterface::RTCConfiguration config; |
FakeConstraints constraints; |
@@ -3373,7 +3373,7 @@ TEST_F(PeerConnectionMediaConfigTest, TestDisablePrerendererSmoothingTrue) { |
} |
// This test verifies the suspend below min bitrate constraint is |
-// recognized and passed to the CreateMediaController call. |
+// recognized and passed to the PeerConnection. |
TEST_F(PeerConnectionMediaConfigTest, |
TestSuspendBelowMinBitrateConstraintTrue) { |
PeerConnectionInterface::RTCConfiguration config; |