OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "content/renderer/media/peer_connection_tracker.h" | 4 #include "content/renderer/media/peer_connection_tracker.h" |
5 | 5 |
6 #include <stddef.h> | 6 #include <stddef.h> |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "content/common/media/peer_connection_tracker_messages.h" | 12 #include "content/common/media/peer_connection_tracker_messages.h" |
13 #include "content/renderer/media/rtc_peer_connection_handler.h" | 13 #include "content/renderer/media/rtc_peer_connection_handler.h" |
14 #include "content/renderer/render_thread_impl.h" | 14 #include "content/renderer/render_thread_impl.h" |
15 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" | 15 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" |
16 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 16 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
17 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 17 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
18 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 18 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
19 #include "third_party/WebKit/public/platform/WebRTCAnswerOptions.h" | 19 #include "third_party/WebKit/public/platform/WebRTCAnswerOptions.h" |
20 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h" | 20 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h" |
21 #include "third_party/WebKit/public/platform/WebRTCOfferOptions.h" | 21 #include "third_party/WebKit/public/platform/WebRTCOfferOptions.h" |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 DCHECK(main_thread_.CalledOnValidThread()); | 706 DCHECK(main_thread_.CalledOnValidThread()); |
707 SendTarget()->Send(new PeerConnectionTrackerHost_UpdatePeerConnection( | 707 SendTarget()->Send(new PeerConnectionTrackerHost_UpdatePeerConnection( |
708 local_id, std::string(callback_type), value)); | 708 local_id, std::string(callback_type), value)); |
709 } | 709 } |
710 | 710 |
711 void PeerConnectionTracker::OverrideSendTargetForTesting(RenderThread* target) { | 711 void PeerConnectionTracker::OverrideSendTargetForTesting(RenderThread* target) { |
712 send_target_for_test_ = target; | 712 send_target_for_test_ = target; |
713 } | 713 } |
714 | 714 |
715 } // namespace content | 715 } // namespace content |
OLD | NEW |