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

Issue 2035473004: RTCPeerConnectionInterface.mm createNativeConfiguration and other clean-up. (Closed)

Created:
4 years, 6 months ago by hbos
Modified:
4 years, 6 months ago
Reviewers:
tkchin_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

RTCPeerConnectionInterface.mm createNativeConfiguration and other clean-up. This CL turns nativeConfiguration into createNativeConfiguration returning a pointer or nil on failure. This method's certificate generation is updated to use the new API and reports failure (nil) if unsuccessful instead of relying on the default certificate. We also remove the implicit assumption (now incorrect) that RSA is the default. This is the same type of changes as was done in https://codereview.webrtc.org/1965313002 but this file (RTCPeerConnectionInterface.mm) was forgotten. With no more usages of kIdentityName it and dtlsidentitystore.cc is removed. Also removes unnecessary #include in peerconnectioninterface.h that was still remnant due to an indirect include of kIdentityName. RTCConfiguration+Private.h now lists method nativeEncryptionKeyTypeForKeyType which was added in the above mentioned prior CL. BUG=webrtc:5707, webrtc:5708 Committed: https://crrev.com/f9da44dbcf3f42a7361688f88c8fcf8f9d237781 Cr-Commit-Position: refs/heads/master@{#13089}

Patch Set 1 : #

Patch Set 2 : Rebase with master after which we have to remove dtlsidentitystore.cc from a BUILD.gn file #

Total comments: 8

Patch Set 3 : Addressed nits #

Patch Set 4 : Rebase with master #

Patch Set 5 : Fixed presubmit warnings (lines longer than) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -61 lines) Patch
M talk/app/webrtc/objc/RTCPeerConnection.mm View 1 chunk +6 lines, -2 lines 0 comments Download
M talk/app/webrtc/objc/RTCPeerConnectionFactory.mm View 1 chunk +6 lines, -1 line 0 comments Download
M talk/app/webrtc/objc/RTCPeerConnectionInterface.mm View 1 2 3 4 2 chunks +40 lines, -19 lines 0 comments Download
M talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/api/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/api.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/dtlsidentitystore.h View 1 chunk +0 lines, -5 lines 0 comments Download
D webrtc/api/dtlsidentitystore.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M webrtc/api/peerconnectioninterface.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCConfiguration.mm View 1 2 3 2 chunks +10 lines, -10 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCConfiguration+Private.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
hbos
Please take a look, tkchin.
4 years, 6 months ago (2016-06-02 14:35:17 UTC) #5
hbos
Bump tkchin, PTAL :)
4 years, 6 months ago (2016-06-03 22:27:43 UTC) #6
tkchin_webrtc
some nits lgtm https://codereview.webrtc.org/2035473004/diff/40001/talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h File talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h (right): https://codereview.webrtc.org/2035473004/diff/40001/talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h#newcode37 talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h:37: + (rtc::KeyType)nativeEncryptionKeyTypeForKeyType:(RTCEncryptionKeyType)keyType; static methods before instance ...
4 years, 6 months ago (2016-06-03 23:36:41 UTC) #7
hbos
https://codereview.webrtc.org/2035473004/diff/40001/talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h File talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h (right): https://codereview.webrtc.org/2035473004/diff/40001/talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h#newcode37 talk/app/webrtc/objc/RTCPeerConnectionInterface+Internal.h:37: + (rtc::KeyType)nativeEncryptionKeyTypeForKeyType:(RTCEncryptionKeyType)keyType; On 2016/06/03 23:36:40, tkchin_webrtc wrote: > static ...
4 years, 6 months ago (2016-06-05 11:08:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035473004/60001
4 years, 6 months ago (2016-06-05 11:09:08 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/11922)
4 years, 6 months ago (2016-06-05 11:11:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035473004/80001
4 years, 6 months ago (2016-06-05 11:17:12 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/6093)
4 years, 6 months ago (2016-06-05 11:34:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035473004/100001
4 years, 6 months ago (2016-06-09 09:43:54 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 6 months ago (2016-06-09 10:18:34 UTC) #23
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 10:18:39 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f9da44dbcf3f42a7361688f88c8fcf8f9d237781
Cr-Commit-Position: refs/heads/master@{#13089}

Powered by Google App Engine
This is Rietveld 408576698