OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" | 14 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" |
15 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" | 15 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" |
16 #include "third_party/libjingle/source/talk/media/base/videorenderer.h" | 16 #include "third_party/webrtc/media/base/videorenderer.h" |
17 #include "third_party/webrtc/media/base/videosinkinterface.h" | 17 #include "third_party/webrtc/media/base/videosinkinterface.h" |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class WebAudioCapturerSource; | 21 class WebAudioCapturerSource; |
22 typedef std::set<webrtc::ObserverInterface*> ObserverSet; | 22 typedef std::set<webrtc::ObserverInterface*> ObserverSet; |
23 | 23 |
24 class MockVideoRenderer : public cricket::VideoRenderer { | 24 class MockVideoRenderer : public cricket::VideoRenderer { |
25 public: | 25 public: |
26 MockVideoRenderer(); | 26 MockVideoRenderer(); |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 bool fail_to_create_next_audio_capturer_; | 226 bool fail_to_create_next_audio_capturer_; |
227 scoped_refptr <MockAudioSource> last_audio_source_; | 227 scoped_refptr <MockAudioSource> last_audio_source_; |
228 scoped_refptr <MockVideoSource> last_video_source_; | 228 scoped_refptr <MockVideoSource> last_video_source_; |
229 | 229 |
230 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionDependencyFactory); | 230 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionDependencyFactory); |
231 }; | 231 }; |
232 | 232 |
233 } // namespace content | 233 } // namespace content |
234 | 234 |
235 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY
_H_ | 235 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY
_H_ |
OLD | NEW |