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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface> | 70 virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface> |
71 CreateLocalMediaStream(const std::string& label) OVERRIDE; | 71 CreateLocalMediaStream(const std::string& label) OVERRIDE; |
72 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface> | 72 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface> |
73 CreateLocalVideoTrack( | 73 CreateLocalVideoTrack( |
74 const std::string& label, | 74 const std::string& label, |
75 cricket::VideoCapturer* video_device) OVERRIDE; | 75 cricket::VideoCapturer* video_device) OVERRIDE; |
76 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> | 76 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> |
77 CreateLocalAudioTrack( | 77 CreateLocalAudioTrack( |
78 const std::string& label, | 78 const std::string& label, |
79 webrtc::AudioDeviceModule* audio_device) OVERRIDE; | 79 webrtc::AudioDeviceModule* audio_device) OVERRIDE; |
80 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( | |
81 const std::string& sdp) OVERRIDE; | |
82 virtual webrtc::IceCandidateInterface* CreateIceCandidate( | |
83 const std::string& label, | |
84 const std::string& sdp) OVERRIDE; | |
85 | 80 |
86 private: | 81 private: |
87 bool mock_pc_factory_created_; | 82 bool mock_pc_factory_created_; |
88 | 83 |
89 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); | 84 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); |
90 }; | 85 }; |
91 | 86 |
92 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 87 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
OLD | NEW |