Chromium Code Reviews| Index: Source/modules/mediastream/RTCStatsRequestImpl.h |
| diff --git a/Source/modules/mediastream/RTCStatsRequestImpl.h b/Source/modules/mediastream/RTCStatsRequestImpl.h |
| index eb3b08e8c7c5f59c81b89141c004d1b3ffec4083..479aa741d76d4f811ba14b986b656cedd3a20c49 100644 |
| --- a/Source/modules/mediastream/RTCStatsRequestImpl.h |
| +++ b/Source/modules/mediastream/RTCStatsRequestImpl.h |
| @@ -35,11 +35,12 @@ |
| namespace WebCore { |
| class MediaStreamTrack; |
| +class RTCPeerConnection; |
| class RTCStatsCallback; |
| class RTCStatsRequestImpl FINAL : public RTCStatsRequest, public ActiveDOMObject { |
| public: |
| - static PassRefPtr<RTCStatsRequestImpl> create(ExecutionContext*, PassOwnPtr<RTCStatsCallback>, PassRefPtr<MediaStreamTrack>); |
| + static PassRefPtr<RTCStatsRequestImpl> create(ExecutionContext*, PassRefPtr<RTCPeerConnection>, PassOwnPtr<RTCStatsCallback>, PassRefPtr<MediaStreamTrack>); |
|
haraken
2014/06/15 13:43:57
PassRefPtrWillBeRawPtr
Henrik Grunell
2014/06/16 07:49:00
Done.
|
| virtual ~RTCStatsRequestImpl(); |
| virtual PassRefPtrWillBeRawPtr<RTCStatsResponseBase> createResponse() OVERRIDE; |
| @@ -52,12 +53,14 @@ public: |
| virtual void stop() OVERRIDE; |
| private: |
| - RTCStatsRequestImpl(ExecutionContext*, PassOwnPtr<RTCStatsCallback>, PassRefPtr<MediaStreamTrack>); |
| + RTCStatsRequestImpl(ExecutionContext*, PassRefPtr<RTCPeerConnection>, PassOwnPtr<RTCStatsCallback>, PassRefPtr<MediaStreamTrack>); |
|
haraken
2014/06/15 13:43:57
PassRefPtrWillBeRawPtr
Henrik Grunell
2014/06/16 07:49:00
Done.
|
| void clear(); |
| OwnPtr<RTCStatsCallback> m_successCallback; |
| RefPtr<MediaStreamComponent> m_component; |
| + |
| + RefPtr<RTCPeerConnection> m_requester; |
|
haraken
2014/06/15 13:43:57
RefPtrWillBePersistent
Henrik Grunell
2014/06/16 07:49:00
Done.
|
| }; |
| } // namespace WebCore |