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

Issue 1311853005: RTCCertificate and RTCPeerConnection.generateCertificate added to JavaScript (Closed)

Created:
5 years, 3 months ago by hbos_chromium
Modified:
5 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

--- Replaced by: https://codereview.chromium.org/1373023002/ --- Adds a RTCCertificate JavaScript class and RTCPeerConnection.generateCertificate JavaScript method. Interfaces are added for certificates and certificate generation (WebRTCCertificate, WebRTCCertificateGenerator) so that Chromium will be able to implement these to use WebRTC code. blink-dev@ intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/3Pps95Q6zRQ BUG=528250, webrtc:4927

Patch Set 1 : Initial PS, ignore this and look at PS2 instead #

Patch Set 2 : Code cleanup, added comments #

Total comments: 26

Patch Set 3 : Addressed guidou's comments #

Total comments: 22

Patch Set 4 : Addressed jochen's comments #

Total comments: 1

Patch Set 5 : Merge with master #

Total comments: 14

Patch Set 6 : Re-upload after Blink->Chrome merge (making old code look new in diffs) #

Patch Set 7 : Chromium implementation of Blink interfaces. Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+565 lines, -105 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/peer_connection_identity_store.cc View 1 2 3 4 5 6 4 chunks +51 lines, -9 lines 0 comments Download
A content/renderer/media/rtc_certificate.h View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
A content/renderer/media/rtc_certificate.cc View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
A content/renderer/media/rtc_certificate_generator.h View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
A content/renderer/media/rtc_certificate_generator.cc View 1 2 3 4 5 6 1 chunk +92 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 2 3 4 5 6 3 chunks +6 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/mediastream/RTCCertificate.h View 1 2 3 4 5 2 chunks +21 lines, -23 lines 0 comments Download
A + third_party/WebKit/Source/modules/mediastream/RTCCertificate.cpp View 1 2 3 4 5 2 chunks +14 lines, -15 lines 0 comments Download
A + third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl View 1 2 3 4 5 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp View 1 2 3 4 5 6 5 chunks +121 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebRTCConfiguration.cpp View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/mediastream/RTCConfiguration.h View 1 2 3 4 5 6 5 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
A + third_party/WebKit/public/platform/WebRTCCertificate.h View 1 2 3 4 5 6 2 chunks +32 lines, -23 lines 0 comments Download
A + third_party/WebKit/public/platform/WebRTCCertificateGenerator.h View 1 2 3 4 5 1 chunk +18 lines, -9 lines 0 comments Download
M third_party/WebKit/public/platform/WebRTCConfiguration.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
A + third_party/WebKit/public/platform/WebRTCKeyType.h View 1 2 3 4 5 6 2 chunks +33 lines, -19 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
hbos_chromium
guidou@ can you take a look? The referenced bug gives some info about the bigger ...
5 years, 3 months ago (2015-09-02 13:00:33 UTC) #3
Guido Urdaneta
This is a first round of comments. Let's talk after you take a look at ...
5 years, 3 months ago (2015-09-03 11:07:49 UTC) #4
hbos_chromium
PTAL mkwst https://codereview.chromium.org/1311853005/diff/40001/Source/modules/mediastream/RTCCertificate.cpp File Source/modules/mediastream/RTCCertificate.cpp (right): https://codereview.chromium.org/1311853005/diff/40001/Source/modules/mediastream/RTCCertificate.cpp#newcode48 Source/modules/mediastream/RTCCertificate.cpp:48: delete m_certificate; On 2015/09/03 11:07:49, Guido Urdaneta ...
5 years, 3 months ago (2015-09-03 16:01:37 UTC) #6
hbos_chromium
"Mike West (buried)" - Oh sorry, buried as in buried in work? Should I find ...
5 years, 3 months ago (2015-09-03 17:11:47 UTC) #7
Mike West
On 2015/09/03 at 17:11:47, hbos wrote: > "Mike West (buried)" - Oh sorry, buried as ...
5 years, 3 months ago (2015-09-04 08:03:14 UTC) #8
hbos_chromium
jochen, can you take a look? It would be good to have someone who knows ...
5 years, 3 months ago (2015-09-07 11:58:46 UTC) #10
jochen (gone - plz use gerrit)
hum, I wonder whether this API can share infrastructure with webcrypto code? I added rsleevi@ ...
5 years, 3 months ago (2015-09-09 14:44:01 UTC) #11
hbos_chromium
PTAL jochen - About a week has passed since by blink-dev intent to implement post ...
5 years, 3 months ago (2015-09-14 09:58:06 UTC) #12
jochen (gone - plz use gerrit)
some comments https://codereview.chromium.org/1311853005/diff/60001/Source/modules/mediastream/RTCCertificate.idl File Source/modules/mediastream/RTCCertificate.idl (right): https://codereview.chromium.org/1311853005/diff/60001/Source/modules/mediastream/RTCCertificate.idl#newcode36 Source/modules/mediastream/RTCCertificate.idl:36: readonly attribute Date expires; uh, I see ...
5 years, 3 months ago (2015-09-15 08:04:19 UTC) #13
hbos_chromium
I'm having build/gyp trouble moving the destructor of RTCConfiguration.h into RTCConfiguration.cpp (new file). Having added ...
5 years, 3 months ago (2015-09-17 16:19:39 UTC) #14
jochen (gone - plz use gerrit)
On 2015/09/17 at 16:19:39, hbos wrote: > I'm having build/gyp trouble moving the destructor of ...
5 years, 3 months ago (2015-09-18 08:27:04 UTC) #15
hbos_chromium
PTAL jochen, I've addressed your comments. (With patch failures, I will merge and re-run the ...
5 years, 3 months ago (2015-09-21 16:12:22 UTC) #16
jochen (gone - plz use gerrit)
some more comments. https://codereview.chromium.org/1311853005/diff/100001/Source/modules/mediastream/RTCPeerConnection.cpp File Source/modules/mediastream/RTCPeerConnection.cpp (right): https://codereview.chromium.org/1311853005/diff/100001/Source/modules/mediastream/RTCPeerConnection.cpp#newcode120 Source/modules/mediastream/RTCPeerConnection.cpp:120: void onError() should this also be ...
5 years, 3 months ago (2015-09-22 15:48:53 UTC) #17
hbos_chromium
PTAL jochen, guidou. With Chrome and Blink merged I re-uploaded the Blink patch set. I ...
5 years, 2 months ago (2015-09-28 08:10:16 UTC) #21
jochen (gone - plz use gerrit)
the base URL of this CL is the now no longer existing blink.git repository. as ...
5 years, 2 months ago (2015-09-28 11:39:28 UTC) #22
hbos_chromium
5 years, 2 months ago (2015-09-28 15:50:50 UTC) #23
On 2015/09/28 11:39:28, jochen wrote:
> the base URL of this CL is the now no longer existing blink.git repository.
> 
> as mentioned in the merge FAQ, you'll have to create a new CL :-/

OK. Reuploaded: https://codereview.chromium.org/1373023002/. Closing this one.

Powered by Google App Engine
This is Rietveld 408576698