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 "base/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
7 #include "content/common/media/peer_connection_tracker_messages.h" | 7 #include "content/common/media/peer_connection_tracker_messages.h" |
8 #include "content/renderer/media/rtc_media_constraints.h" | 8 #include "content/renderer/media/rtc_media_constraints.h" |
9 #include "content/renderer/media/rtc_peer_connection_handler.h" | 9 #include "content/renderer/media/rtc_peer_connection_handler.h" |
10 #include "content/renderer/render_thread_impl.h" | 10 #include "content/renderer/render_thread_impl.h" |
11 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 11 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
12 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 12 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
13 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 13 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
14 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h" | 14 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h" |
15 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h
" | 15 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h
" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 const std::string& value) { | 453 const std::string& value) { |
454 if (peer_connection_id_map_.find(pc_handler) == peer_connection_id_map_.end()) | 454 if (peer_connection_id_map_.find(pc_handler) == peer_connection_id_map_.end()) |
455 return; | 455 return; |
456 | 456 |
457 RenderThreadImpl::current()->Send( | 457 RenderThreadImpl::current()->Send( |
458 new PeerConnectionTrackerHost_UpdatePeerConnection( | 458 new PeerConnectionTrackerHost_UpdatePeerConnection( |
459 peer_connection_id_map_[pc_handler], type, value)); | 459 peer_connection_id_map_[pc_handler], type, value)); |
460 } | 460 } |
461 | 461 |
462 } // namespace content | 462 } // namespace content |
OLD | NEW |