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

Issue 11093061: Enable peerconnection to use the NSS RNG. (Closed)

Created:
8 years, 2 months ago by Ronghua Wu (Left Chromium)
Modified:
8 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org, juberti, ekr, wtc
Visibility:
Public.

Description

Enable peerconnection to use the NSS RNG. TEST=manually with apprtc.appspot.com BUG=http://code.google.com/p/webrtc/issues/detail?id=591 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162055

Patch Set 1 #

Total comments: 15

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 3

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 5 2 chunks +9 lines, -0 lines 0 comments Download
M net/socket/nss_ssl_util.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M third_party/libjingle/libjingle.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
Ronghua Wu (Left Chromium)
8 years, 2 months ago (2012-10-10 23:40:50 UTC) #1
ekr
https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc#newcode356 content/renderer/media/media_stream_dependency_factory.cc:356: // Init NSS which will be needed by PeerConnection. ...
8 years, 2 months ago (2012-10-10 23:48:34 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc#newcode357 content/renderer/media/media_stream_dependency_factory.cc:357: net::EnsureNSSSSLInit(); NSS is initialized in ChromeRenderProcessObserver::ChromeRenderProcessObserver(). maybe it's better ...
8 years, 2 months ago (2012-10-10 23:59:00 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc#newcode22 content/renderer/media/media_stream_dependency_factory.cc:22: #include "net/socket/nss_ssl_util.h" #if !defined(USE_OPENSSL) #include "net/socket/nss_ssl_util.h" #endif (moved to ...
8 years, 2 months ago (2012-10-10 23:59:15 UTC) #4
Ryan Sleevi
On 2012/10/10 23:59:00, sergeyu wrote: > https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc > File content/renderer/media/media_stream_dependency_factory.cc (right): > > https://codereview.chromium.org/11093061/diff/1/content/renderer/media/media_stream_dependency_factory.cc#newcode357 > ...
8 years, 2 months ago (2012-10-11 00:00:47 UTC) #5
Ronghua Wu (Left Chromium)
Thanks. What else platforms we don't have NSS? I also got the errors on linux_clang ...
8 years, 2 months ago (2012-10-11 00:17:18 UTC) #6
Ryan Sleevi
I'm not sure the linux_clang failure. crypto.gyp has 'export_dependent_settings' that exports the dependencies on NSS ...
8 years, 2 months ago (2012-10-11 00:26:06 UTC) #7
Ronghua Wu (Left Chromium)
https://codereview.chromium.org/11093061/diff/11002/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/11093061/diff/11002/content/renderer/media/media_stream_dependency_factory.cc#newcode26 content/renderer/media/media_stream_dependency_factory.cc:26: #if !defined(USE_OPENSSL) On 2012/10/11 00:26:06, Ryan Sleevi wrote: > ...
8 years, 2 months ago (2012-10-11 00:34:29 UTC) #8
Ronghua Wu (Left Chromium)
The linux_clange gives me the linking error on remoting_me2me_host and remoting_simple_host, so I tried to ...
8 years, 2 months ago (2012-10-11 17:46:24 UTC) #9
Ronghua Wu (Left Chromium)
Both of my attempt to fix the build errors failed with the same errors. :( ...
8 years, 2 months ago (2012-10-11 18:00:54 UTC) #10
Ryan Sleevi
On 2012/10/11 17:46:24, Ronghua Wu wrote: > The linux_clange gives me the linking error on ...
8 years, 2 months ago (2012-10-11 18:01:47 UTC) #11
Ryan Sleevi
On Thu, Oct 11, 2012 at 11:00 AM, <ronghuawu@chromium.org> wrote: > Both of my attempt ...
8 years, 2 months ago (2012-10-11 18:02:34 UTC) #12
Sergey Ulanov
On 2012/10/11 18:00:54, Ronghua Wu wrote: > Both of my attempt to fix the build ...
8 years, 2 months ago (2012-10-11 18:18:28 UTC) #13
wtc
Review comments on patch set 5: https://codereview.chromium.org/11093061/diff/9006/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/11093061/diff/9006/content/renderer/media/media_stream_dependency_factory.cc#newcode27 content/renderer/media/media_stream_dependency_factory.cc:27: #if defined(USE_NSS) The ...
8 years, 2 months ago (2012-10-11 18:22:16 UTC) #14
ekr
https://codereview.chromium.org/11093061/diff/9006/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/11093061/diff/9006/content/renderer/media/media_stream_dependency_factory.cc#newcode27 content/renderer/media/media_stream_dependency_factory.cc:27: #if defined(USE_NSS) I wonder if what you want is ...
8 years, 2 months ago (2012-10-11 18:29:48 UTC) #15
Ryan Sleevi
On Thu, Oct 11, 2012 at 11:18 AM, <sergeyu@chromium.org> wrote: > On 2012/10/11 18:00:54, Ronghua ...
8 years, 2 months ago (2012-10-11 18:40:00 UTC) #16
Ronghua Wu (Left Chromium)
Please see my changes to the libjingle.gyp where I basically added the crypo dependencies. This ...
8 years, 2 months ago (2012-10-11 21:13:53 UTC) #17
Sergey Ulanov
On Thu, Oct 11, 2012 at 11:39 AM, Ryan Sleevi <rsleevi@chromium.org> wrote: > On Thu, ...
8 years, 2 months ago (2012-10-12 18:11:38 UTC) #18
Ronghua Wu (Left Chromium)
Another problem is also in the components build. We called net::EnsureNSSSSLInit in media_stream_dependency_factory.cc, and as ...
8 years, 2 months ago (2012-10-12 19:06:15 UTC) #19
Ryan Sleevi
On Fri, Oct 12, 2012 at 11:11 AM, Sergey Ulanov <sergeyu@chromium.org>wrote: > > > > ...
8 years, 2 months ago (2012-10-12 19:11:37 UTC) #20
Ryan Sleevi
On Fri, Oct 12, 2012 at 12:05 PM, Ronghua Wu <ronghuawu@chromium.org> wrote: > Another problem ...
8 years, 2 months ago (2012-10-12 19:13:21 UTC) #21
Ronghua Wu (Left Chromium)
Thanks a lot Ryan. I was doing pretty much same as what you suggested in ...
8 years, 2 months ago (2012-10-15 00:32:21 UTC) #22
Ryan Sleevi
LGTM, but one requested restructuring of the GYP file below. https://codereview.chromium.org/11093061/diff/20001/third_party/libjingle/libjingle.gyp File third_party/libjingle/libjingle.gyp (right): https://codereview.chromium.org/11093061/diff/20001/third_party/libjingle/libjingle.gyp#newcode134 ...
8 years, 2 months ago (2012-10-15 17:58:39 UTC) #23
Ronghua Wu (Left Chromium)
https://codereview.chromium.org/11093061/diff/20001/third_party/libjingle/libjingle.gyp File third_party/libjingle/libjingle.gyp (right): https://codereview.chromium.org/11093061/diff/20001/third_party/libjingle/libjingle.gyp#newcode134 third_party/libjingle/libjingle.gyp:134: ['use_openssl!=1', { On 2012/10/15 17:58:39, Ryan Sleevi wrote: > ...
8 years, 2 months ago (2012-10-15 18:06:24 UTC) #24
wjia(left Chromium)
lgtm on media.
8 years, 2 months ago (2012-10-15 18:43:14 UTC) #25
Ronghua Wu (Left Chromium)
+piman for content_renderer.gypi change.
8 years, 2 months ago (2012-10-15 18:43:37 UTC) #26
Ronghua Wu (Left Chromium)
+creis for content_renderer.gypi change
8 years, 2 months ago (2012-10-15 21:55:20 UTC) #27
Charlie Reis
Rubber stamp LGTM on content_renderer.gypi.
8 years, 2 months ago (2012-10-15 22:33:45 UTC) #28
Sergey Ulanov
libjingle.gyp - lgtm https://codereview.chromium.org/11093061/diff/20006/third_party/libjingle/libjingle.gyp File third_party/libjingle/libjingle.gyp (right): https://codereview.chromium.org/11093061/diff/20006/third_party/libjingle/libjingle.gyp#newcode139 third_party/libjingle/libjingle.gyp:139: [ 'os_posix == 1 and OS ...
8 years, 2 months ago (2012-10-15 23:09:13 UTC) #29
Ronghua Wu (Left Chromium)
https://codereview.chromium.org/11093061/diff/20006/third_party/libjingle/libjingle.gyp File third_party/libjingle/libjingle.gyp (right): https://codereview.chromium.org/11093061/diff/20006/third_party/libjingle/libjingle.gyp#newcode139 third_party/libjingle/libjingle.gyp:139: [ 'os_posix == 1 and OS != "mac" and ...
8 years, 2 months ago (2012-10-15 23:40:39 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@chromium.org/11093061/29008
8 years, 2 months ago (2012-10-16 00:47:15 UTC) #31
commit-bot: I haz the power
8 years, 2 months ago (2012-10-16 02:53:57 UTC) #32
Change committed as 162055

Powered by Google App Engine
This is Rietveld 408576698