| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 
| 6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 
| 7 | 7 | 
| 8 #include <memory> | 8 #include <memory> | 
| 9 #include <string> | 9 #include <string> | 
| 10 | 10 | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 39       std::vector<webrtc::MediaStreamInterface*> streams) override { | 39       std::vector<webrtc::MediaStreamInterface*> streams) override { | 
| 40     NOTIMPLEMENTED(); | 40     NOTIMPLEMENTED(); | 
| 41     return nullptr; | 41     return nullptr; | 
| 42   } | 42   } | 
| 43   bool RemoveTrack(webrtc::RtpSenderInterface* sender) override { | 43   bool RemoveTrack(webrtc::RtpSenderInterface* sender) override { | 
| 44     NOTIMPLEMENTED(); | 44     NOTIMPLEMENTED(); | 
| 45     return false; | 45     return false; | 
| 46   } | 46   } | 
| 47   rtc::scoped_refptr<webrtc::DtmfSenderInterface> | 47   rtc::scoped_refptr<webrtc::DtmfSenderInterface> | 
| 48       CreateDtmfSender(webrtc::AudioTrackInterface* track) override; | 48       CreateDtmfSender(webrtc::AudioTrackInterface* track) override; | 
|  | 49   std::vector<rtc::scoped_refptr<webrtc::RtpReceiverInterface>> GetReceivers() | 
|  | 50       const override; | 
| 49   rtc::scoped_refptr<webrtc::DataChannelInterface> | 51   rtc::scoped_refptr<webrtc::DataChannelInterface> | 
| 50       CreateDataChannel(const std::string& label, | 52       CreateDataChannel(const std::string& label, | 
| 51                         const webrtc::DataChannelInit* config) override; | 53                         const webrtc::DataChannelInit* config) override; | 
| 52   bool GetStats(webrtc::StatsObserver* observer, | 54   bool GetStats(webrtc::StatsObserver* observer, | 
| 53                 webrtc::MediaStreamTrackInterface* track, | 55                 webrtc::MediaStreamTrackInterface* track, | 
| 54                 StatsOutputLevel level) override; | 56                 StatsOutputLevel level) override; | 
| 55   void GetStats(webrtc::RTCStatsCollectorCallback* callback) override; | 57   void GetStats(webrtc::RTCStatsCollectorCallback* callback) override; | 
| 56 | 58 | 
| 57   // Call this function to make sure next call to legacy GetStats fail. | 59   // Call this function to make sure next call to legacy GetStats fail. | 
| 58   void SetGetStatsResult(bool result) { getstats_result_ = result; } | 60   void SetGetStatsResult(bool result) { getstats_result_ = result; } | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 153   webrtc::RTCErrorType setconfiguration_error_type_ = | 155   webrtc::RTCErrorType setconfiguration_error_type_ = | 
| 154       webrtc::RTCErrorType::NONE; | 156       webrtc::RTCErrorType::NONE; | 
| 155   rtc::scoped_refptr<webrtc::RTCStatsReport> stats_report_; | 157   rtc::scoped_refptr<webrtc::RTCStatsReport> stats_report_; | 
| 156 | 158 | 
| 157   DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); | 159   DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); | 
| 158 }; | 160 }; | 
| 159 | 161 | 
| 160 }  // namespace content | 162 }  // namespace content | 
| 161 | 163 | 
| 162 #endif  // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 164 #endif  // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 
| OLD | NEW | 
|---|