| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 virtual talk_base::scoped_refptr<webrtc::StreamCollectionInterface> | 27 virtual talk_base::scoped_refptr<webrtc::StreamCollectionInterface> |
| 28 remote_streams() OVERRIDE; | 28 remote_streams() OVERRIDE; |
| 29 virtual void AddStream(webrtc::LocalMediaStreamInterface* stream) OVERRIDE; | 29 virtual void AddStream(webrtc::LocalMediaStreamInterface* stream) OVERRIDE; |
| 30 virtual bool AddStream( | 30 virtual bool AddStream( |
| 31 webrtc::MediaStreamInterface* local_stream, | 31 webrtc::MediaStreamInterface* local_stream, |
| 32 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; | 32 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; |
| 33 virtual bool CanSendDtmf(const webrtc::AudioTrackInterface* track) OVERRIDE; | 33 virtual bool CanSendDtmf(const webrtc::AudioTrackInterface* track) OVERRIDE; |
| 34 virtual bool SendDtmf(const webrtc::AudioTrackInterface* send_track, | 34 virtual bool SendDtmf(const webrtc::AudioTrackInterface* send_track, |
| 35 const std::string& tones, int duration, | 35 const std::string& tones, int duration, |
| 36 const webrtc::AudioTrackInterface* play_track) OVERRIDE; | 36 const webrtc::AudioTrackInterface* play_track) OVERRIDE; |
| 37 virtual void RemoveStream(webrtc::MediaStreamInterface* local_stream) OVERRIDE
; | 37 virtual void RemoveStream( |
| 38 webrtc::MediaStreamInterface* local_stream) OVERRIDE; |
| 38 virtual ReadyState ready_state() OVERRIDE; | 39 virtual ReadyState ready_state() OVERRIDE; |
| 39 virtual bool StartIce(IceOptions options) OVERRIDE; | 40 virtual bool StartIce(IceOptions options) OVERRIDE; |
| 40 | 41 |
| 41 virtual webrtc::SessionDescriptionInterface* CreateOffer( | 42 virtual webrtc::SessionDescriptionInterface* CreateOffer( |
| 42 const webrtc::MediaHints& hints) OVERRIDE; | 43 const webrtc::MediaHints& hints) OVERRIDE; |
| 43 virtual webrtc::SessionDescriptionInterface* CreateAnswer( | 44 virtual webrtc::SessionDescriptionInterface* CreateAnswer( |
| 44 const webrtc::MediaHints& hints, | 45 const webrtc::MediaHints& hints, |
| 45 const webrtc::SessionDescriptionInterface* offer) OVERRIDE; | 46 const webrtc::SessionDescriptionInterface* offer) OVERRIDE; |
| 46 virtual bool SetLocalDescription( | 47 virtual bool SetLocalDescription( |
| 47 Action action, | 48 Action action, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 std::string ice_sdp_; | 119 std::string ice_sdp_; |
| 119 ReadyState ready_state_; | 120 ReadyState ready_state_; |
| 120 IceState ice_state_; | 121 IceState ice_state_; |
| 121 | 122 |
| 122 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); | 123 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); |
| 123 }; | 124 }; |
| 124 | 125 |
| 125 } // namespace content | 126 } // namespace content |
| 126 | 127 |
| 127 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 128 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ |
| OLD | NEW |