Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
index 4bc2b0f068069b4738eb3f00fcfd9f1cd64c2163..408bbf6443245a8f6f9e1ce03406c2b4a97559f4 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
@@ -211,7 +211,14 @@ class MODULES_EXPORT RTCPeerConnection final |
DECLARE_VIRTUAL_TRACE(); |
private: |
- friend class RTCPeerConnectionTest; |
+ FRIEND_TEST_ALL_PREFIXES(RTCPeerConnectionTest, GetAudioTrack); |
+ FRIEND_TEST_ALL_PREFIXES(RTCPeerConnectionTest, GetVideoTrack); |
+ FRIEND_TEST_ALL_PREFIXES(RTCPeerConnectionTest, GetAudioAndVideoTrack); |
+ FRIEND_TEST_ALL_PREFIXES(RTCPeerConnectionTest, GetTrackRemoveStreamAndGCAll); |
+ FRIEND_TEST_ALL_PREFIXES(RTCPeerConnectionTest, |
+ GetTrackRemoveStreamAndGCWithPersistentComponent); |
+ FRIEND_TEST_ALL_PREFIXES(RTCPeerConnectionTest, |
+ GetTrackRemoveStreamAndGCWithPersistentStream); |
typedef Function<bool()> BoolFunction; |
class EventWrapper : public GarbageCollectedFinalized<EventWrapper> { |