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

Side by Side Diff: talk/app/webrtc/objc/RTCICECandidate.mm

Issue 1237613003: Remove deprecated functions. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Call new function from objc. Created 5 years, 5 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 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } else { 73 } else {
74 self = nil; 74 self = nil;
75 NSAssert(NO, @"ICECandidateInterface->ToString failed"); 75 NSAssert(NO, @"ICECandidateInterface->ToString failed");
76 } 76 }
77 } 77 }
78 return self; 78 return self;
79 } 79 }
80 80
81 - (const webrtc::IceCandidateInterface*)candidate { 81 - (const webrtc::IceCandidateInterface*)candidate {
82 return webrtc::CreateIceCandidate( 82 return webrtc::CreateIceCandidate(
83 [self.sdpMid UTF8String], self.sdpMLineIndex, [self.sdp UTF8String]); 83 [self.sdpMid UTF8String], self.sdpMLineIndex, [self.sdp UTF8String],
84 nullptr);
84 } 85 }
85 86
86 @end 87 @end
OLDNEW
« no previous file with comments | « talk/app/webrtc/jsepsessiondescription.cc ('k') | talk/app/webrtc/peerconnectioninterface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698