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

Side by Side Diff: content/renderer/media/mock_peer_connection_impl.cc

Issue 2511633002: Rename "updateICE" to "setConfiguration", everywhere except in Blink. (Closed)
Patch Set: Making sure updateIce doesn't change behavior in this CL. Created 4 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/renderer/media/mock_peer_connection_impl.h" 5 #include "content/renderer/media/mock_peer_connection_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 local_desc_.reset(desc); 259 local_desc_.reset(desc);
260 } 260 }
261 261
262 void MockPeerConnectionImpl::SetRemoteDescriptionWorker( 262 void MockPeerConnectionImpl::SetRemoteDescriptionWorker(
263 SetSessionDescriptionObserver* observer, 263 SetSessionDescriptionObserver* observer,
264 SessionDescriptionInterface* desc) { 264 SessionDescriptionInterface* desc) {
265 desc->ToString(&description_sdp_); 265 desc->ToString(&description_sdp_);
266 remote_desc_.reset(desc); 266 remote_desc_.reset(desc);
267 } 267 }
268 268
269 bool MockPeerConnectionImpl::UpdateIce(const IceServers& configuration) { 269 bool MockPeerConnectionImpl::SetConfiguration(
270 const RTCConfiguration& configuration) {
270 return true; 271 return true;
271 } 272 }
272 273
273 bool MockPeerConnectionImpl::AddIceCandidate( 274 bool MockPeerConnectionImpl::AddIceCandidate(
274 const IceCandidateInterface* candidate) { 275 const IceCandidateInterface* candidate) {
275 sdp_mid_ = candidate->sdp_mid(); 276 sdp_mid_ = candidate->sdp_mid();
276 sdp_mline_index_ = candidate->sdp_mline_index(); 277 sdp_mline_index_ = candidate->sdp_mline_index();
277 return candidate->ToString(&ice_sdp_); 278 return candidate->ToString(&ice_sdp_);
278 } 279 }
279 280
280 void MockPeerConnectionImpl::RegisterUMAObserver( 281 void MockPeerConnectionImpl::RegisterUMAObserver(
281 webrtc::UMAObserver* observer) { 282 webrtc::UMAObserver* observer) {
282 NOTIMPLEMENTED(); 283 NOTIMPLEMENTED();
283 } 284 }
284 285
285 } // namespace content 286 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698