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_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( | 118 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( |
| 119 const std::string& type, | 119 const std::string& type, |
| 120 const std::string& sdp); | 120 const std::string& sdp); |
| 121 | 121 |
| 122 // Creates a libjingle representation of an ice candidate. | 122 // Creates a libjingle representation of an ice candidate. |
| 123 virtual webrtc::IceCandidateInterface* CreateIceCandidate( | 123 virtual webrtc::IceCandidateInterface* CreateIceCandidate( |
| 124 const std::string& sdp_mid, | 124 const std::string& sdp_mid, |
| 125 int sdp_mline_index, | 125 int sdp_mline_index, |
| 126 const std::string& sdp); | 126 const std::string& sdp); |
| 127 | 127 |
| 128 WebRtcAudioDeviceImpl* GetWebRtcAudioDevice(); | |
|
tommi (sloooow) - chröme
2012/11/13 11:08:30
I don't think it's a good idea to hand out raw poi
| |
| 129 | |
| 128 protected: | 130 protected: |
| 129 // Asks the PeerConnection factory to create a Local MediaStream object. | 131 // Asks the PeerConnection factory to create a Local MediaStream object. |
| 130 virtual scoped_refptr<webrtc::LocalMediaStreamInterface> | 132 virtual scoped_refptr<webrtc::LocalMediaStreamInterface> |
| 131 CreateLocalMediaStream(const std::string& label); | 133 CreateLocalMediaStream(const std::string& label); |
| 132 | 134 |
| 133 // Asks the PeerConnection factory to create a Local Video Source. | 135 // Asks the PeerConnection factory to create a Local Video Source. |
| 134 virtual scoped_refptr<webrtc::VideoSourceInterface> | 136 virtual scoped_refptr<webrtc::VideoSourceInterface> |
| 135 CreateVideoSource(int video_session_id, | 137 CreateVideoSource(int video_session_id, |
| 136 bool is_screen_cast, | 138 bool is_screen_cast, |
| 137 const webrtc::MediaConstraintsInterface* constraints); | 139 const webrtc::MediaConstraintsInterface* constraints); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 178 talk_base::Thread* signaling_thread_; | 180 talk_base::Thread* signaling_thread_; |
| 179 talk_base::Thread* worker_thread_; | 181 talk_base::Thread* worker_thread_; |
| 180 base::Thread chrome_worker_thread_; | 182 base::Thread chrome_worker_thread_; |
| 181 | 183 |
| 182 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); | 184 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); |
| 183 }; | 185 }; |
| 184 | 186 |
| 185 } // namespace content | 187 } // namespace content |
| 186 | 188 |
| 187 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 189 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
| OLD | NEW |