Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: content/renderer/media/peer_connection_tracker.h

Issue 468393003: Add the addIceCandidate failure case to webrtc-internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_PEERCONNECTION_TRACKER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_
6 #define CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_ 6 #define CONTENT_RENDERER_MEDIA_PEERCONNECTION_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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Sends an update when Ice candidates are updated. 92 // Sends an update when Ice candidates are updated.
93 virtual void TrackUpdateIce( 93 virtual void TrackUpdateIce(
94 RTCPeerConnectionHandler* pc_handler, 94 RTCPeerConnectionHandler* pc_handler,
95 const webrtc::PeerConnectionInterface::RTCConfiguration& config, 95 const webrtc::PeerConnectionInterface::RTCConfiguration& config,
96 const RTCMediaConstraints& options); 96 const RTCMediaConstraints& options);
97 97
98 // Sends an update when an Ice candidate is added. 98 // Sends an update when an Ice candidate is added.
99 virtual void TrackAddIceCandidate( 99 virtual void TrackAddIceCandidate(
100 RTCPeerConnectionHandler* pc_handler, 100 RTCPeerConnectionHandler* pc_handler,
101 const blink::WebRTCICECandidate& candidate, Source source); 101 const blink::WebRTCICECandidate& candidate,
102 Source source,
103 bool succeeded);
102 104
103 // Sends an update when a media stream is added. 105 // Sends an update when a media stream is added.
104 virtual void TrackAddStream( 106 virtual void TrackAddStream(
105 RTCPeerConnectionHandler* pc_handler, 107 RTCPeerConnectionHandler* pc_handler,
106 const blink::WebMediaStream& stream, Source source); 108 const blink::WebMediaStream& stream, Source source);
107 109
108 // Sends an update when a media stream is removed. 110 // Sends an update when a media stream is removed.
109 virtual void TrackRemoveStream( 111 virtual void TrackRemoveStream(
110 RTCPeerConnectionHandler* pc_handler, 112 RTCPeerConnectionHandler* pc_handler,
111 const blink::WebMediaStream& stream, Source source); 113 const blink::WebMediaStream& stream, Source source);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 173
172 // This keeps track of the next available local ID. 174 // This keeps track of the next available local ID.
173 int next_lid_; 175 int next_lid_;
174 176
175 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker); 177 DISALLOW_COPY_AND_ASSIGN(PeerConnectionTracker);
176 }; 178 };
177 179
178 } // namespace content 180 } // namespace content
179 181
180 #endif // CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_ 182 #endif // CONTENT_RENDERER_MEDIA_PEERCONNECTION_TRACKER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/peer_connection_tracker.cc » ('j') | content/renderer/media/peer_connection_tracker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698