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

Issue 2001103002: RTCCertificateGeneratorInterface and RTCCertificateGeneratorStoreWrapper added. (Closed)

Created:
4 years, 7 months ago by hbos
Modified:
4 years, 7 months ago
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

RTCCertificateGeneratorInterface and RTCCertificateGeneratorStoreWrapper added. This CL adds these classes but does not change any functonality or interface yet. This is in preparation for future CLs. To be used for this: https://codereview.webrtc.org/2000163002/ RTCCertificateGenerator is meant to replace DtlsIdentityStoreInterface and implementations. In order to continue to support mocking and to help with the transition, RTCCertificateGenerator gets an interface that it implements (just like the store has both interface and impl). PeerConnectionFactoryInterface::CreatePeerConnection will take an RTCCertificateGeneratorInterface instead of DtlsIdentityStoreInterface. As to not break Chromium, both versions of CreatePeerConnection need to exist for a transition period. This will be done by wrapping a store into a generator wrapper - RTCCertificateGeneratorStoreWrapper. BUG=webrtc:5707, webrtc:5708 R=hta@webrtc.org, tommi@chromium.org, tommi@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/6c96314b42e872abbba3884904a4fdc3dfa8955d

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed self-reference (this_), added LOG #

Total comments: 6

Patch Set 3 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -10 lines) Patch
M webrtc/api/dtlsidentitystore.h View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M webrtc/api/dtlsidentitystore.cc View 1 2 3 chunks +61 lines, -1 line 0 comments Download
M webrtc/base/rtccertificategenerator.h View 3 chunks +26 lines, -9 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
hbos
Please take a look hta and tommi.
4 years, 7 months ago (2016-05-23 13:29:55 UTC) #3
hta-webrtc
The concept of a self-owning entity in a world where everyone's moving from refcounting to ...
4 years, 7 months ago (2016-05-23 13:50:38 UTC) #4
hbos
Over to tommi then, please take a look.
4 years, 7 months ago (2016-05-23 13:56:28 UTC) #5
hbos
Removed self-reference. Please take a look tommi. https://codereview.webrtc.org/2001103002/diff/1/webrtc/api/dtlsidentitystore.cc File webrtc/api/dtlsidentitystore.cc (right): https://codereview.webrtc.org/2001103002/diff/1/webrtc/api/dtlsidentitystore.cc#newcode52 webrtc/api/dtlsidentitystore.cc:52: Callback(nullptr); On ...
4 years, 7 months ago (2016-05-24 08:49:43 UTC) #7
hbos
Since I got the OWNER lgtm I need and this is just a preparation CL ...
4 years, 7 months ago (2016-05-24 17:53:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2001103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2001103002/40001
4 years, 7 months ago (2016-05-24 17:54:01 UTC) #11
hbos
On 2016/05/24 17:53:35, hbos wrote: > Since I got the OWNER lgtm I need and ...
4 years, 7 months ago (2016-05-24 17:54:41 UTC) #12
tommi (sloooow) - chröme
lgtm with nits addressed https://codereview.webrtc.org/2001103002/diff/40001/webrtc/api/dtlsidentitystore.cc File webrtc/api/dtlsidentitystore.cc (right): https://codereview.webrtc.org/2001103002/diff/40001/webrtc/api/dtlsidentitystore.cc#newcode45 webrtc/api/dtlsidentitystore.cc:45: void OnFailure(int error) override { ...
4 years, 7 months ago (2016-05-24 18:03:40 UTC) #15
hbos
https://codereview.webrtc.org/2001103002/diff/40001/webrtc/api/dtlsidentitystore.cc File webrtc/api/dtlsidentitystore.cc (right): https://codereview.webrtc.org/2001103002/diff/40001/webrtc/api/dtlsidentitystore.cc#newcode45 webrtc/api/dtlsidentitystore.cc:45: void OnFailure(int error) override { On 2016/05/24 18:03:40, tommi-chrömium ...
4 years, 7 months ago (2016-05-24 18:34:01 UTC) #16
tommi
lgtm
4 years, 7 months ago (2016-05-24 18:34:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2001103002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2001103002/60001
4 years, 7 months ago (2016-05-24 18:35:20 UTC) #20
hbos
4 years, 7 months ago (2016-05-24 18:46:48 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
6c96314b42e872abbba3884904a4fdc3dfa8955d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698