Chromium Code Reviews| 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_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 94 CreateLocalVideoTrack( | 94 CreateLocalVideoTrack( |
| 95 const std::string& label, | 95 const std::string& label, |
| 96 int video_session_id) OVERRIDE; | 96 int video_session_id) OVERRIDE; |
| 97 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> | 97 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> |
| 98 CreateLocalAudioTrack( | 98 CreateLocalAudioTrack( |
| 99 const std::string& label, | 99 const std::string& label, |
| 100 webrtc::AudioDeviceModule* audio_device) OVERRIDE; | 100 webrtc::AudioDeviceModule* audio_device) OVERRIDE; |
| 101 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( | 101 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( |
| 102 const std::string& sdp) OVERRIDE; | 102 const std::string& sdp) OVERRIDE; |
| 103 virtual webrtc::IceCandidateInterface* CreateIceCandidate( | 103 virtual webrtc::IceCandidateInterface* CreateIceCandidate( |
| 104 const std::string& label, | 104 const std::string& media_id, |
| 105 int m_line_index, | |
|
Ronghua Wu (Left Chromium)
2012/07/30 18:09:10
let's change this to sdp_mid and sdp_mline_index t
Mallinath (Gone from Chromium)
2012/07/30 18:42:08
Done.
| |
| 105 const std::string& sdp) OVERRIDE; | 106 const std::string& sdp) OVERRIDE; |
| 106 | 107 |
| 107 private: | 108 private: |
| 108 bool mock_pc_factory_created_; | 109 bool mock_pc_factory_created_; |
| 109 | 110 |
| 110 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); | 111 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 114 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
| OLD | NEW |