| 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 | 4 |
| 5 #ifndef CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ | 6 #define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 virtual void TrackCreateAnswer(RTCPeerConnectionHandler* pc_handler, | 95 virtual void TrackCreateAnswer(RTCPeerConnectionHandler* pc_handler, |
| 96 const blink::WebRTCAnswerOptions& options); | 96 const blink::WebRTCAnswerOptions& options); |
| 97 virtual void TrackCreateAnswer(RTCPeerConnectionHandler* pc_handler, | 97 virtual void TrackCreateAnswer(RTCPeerConnectionHandler* pc_handler, |
| 98 const blink::WebMediaConstraints& constraints); | 98 const blink::WebMediaConstraints& constraints); |
| 99 | 99 |
| 100 // Sends an update when setLocalDescription or setRemoteDescription is called. | 100 // Sends an update when setLocalDescription or setRemoteDescription is called. |
| 101 virtual void TrackSetSessionDescription( | 101 virtual void TrackSetSessionDescription( |
| 102 RTCPeerConnectionHandler* pc_handler, | 102 RTCPeerConnectionHandler* pc_handler, |
| 103 const std::string& sdp, const std::string& type, Source source); | 103 const std::string& sdp, const std::string& type, Source source); |
| 104 | 104 |
| 105 // Sends an update when Ice candidates are updated. | 105 // Sends an update when setConfiguration is called. |
| 106 virtual void TrackUpdateIce( | 106 virtual void TrackSetConfiguration( |
| 107 RTCPeerConnectionHandler* pc_handler, | 107 RTCPeerConnectionHandler* pc_handler, |
| 108 const webrtc::PeerConnectionInterface::RTCConfiguration& config); | 108 const webrtc::PeerConnectionInterface::RTCConfiguration& config); |
| 109 | 109 |
| 110 // Sends an update when an Ice candidate is added. | 110 // Sends an update when an Ice candidate is added. |
| 111 virtual void TrackAddIceCandidate( | 111 virtual void TrackAddIceCandidate( |
| 112 RTCPeerConnectionHandler* pc_handler, | 112 RTCPeerConnectionHandler* pc_handler, |
| 113 const blink::WebRTCICECandidate& candidate, | 113 const blink::WebRTCICECandidate& candidate, |
| 114 Source source, | 114 Source source, |
| 115 bool succeeded); | 115 bool succeeded); |
| 116 | 116 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 int next_local_id_; | 218 int next_local_id_; |
| 219 base::ThreadChecker main_thread_; | 219 base::ThreadChecker main_thread_; |
| 220 RenderThread* send_target_for_test_; | 220 RenderThread* send_target_for_test_; |
| 221 | 221 |
| 222 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker); | 222 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker); |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 } // namespace content | 225 } // namespace content |
| 226 | 226 |
| 227 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ | 227 #endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_TRACKER_H_ |
| OLD | NEW |