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 "base/single_thread_task_runner.h" |
14 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" | 15 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" |
15 #include "third_party/webrtc/api/mediaconstraintsinterface.h" | 16 #include "third_party/webrtc/api/mediaconstraintsinterface.h" |
16 #include "third_party/webrtc/api/mediastreaminterface.h" | 17 #include "third_party/webrtc/api/mediastreaminterface.h" |
17 | 18 |
18 namespace content { | 19 namespace content { |
19 | 20 |
20 typedef std::set<webrtc::ObserverInterface*> ObserverSet; | 21 typedef std::set<webrtc::ObserverInterface*> ObserverSet; |
21 | 22 |
22 class MockWebRtcAudioTrack : public webrtc::AudioTrackInterface { | 23 class MockWebRtcAudioTrack : public webrtc::AudioTrackInterface { |
23 public: | 24 public: |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 private: | 154 private: |
154 base::Thread signaling_thread_; | 155 base::Thread signaling_thread_; |
155 bool fail_to_create_session_description_ = false; | 156 bool fail_to_create_session_description_ = false; |
156 | 157 |
157 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionDependencyFactory); | 158 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionDependencyFactory); |
158 }; | 159 }; |
159 | 160 |
160 } // namespace content | 161 } // namespace content |
161 | 162 |
162 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY
_H_ | 163 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY
_H_ |
OLD | NEW |