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

Issue 1210973003: Use crypto::InitNSSSafely to initialize NSS for remoting. (Closed)

Created:
5 years, 5 months ago by davidben
Modified:
5 years, 5 months ago
CC:
chromium-reviews, jam, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use crypto::InitNSSSafely to initialize NSS for remoting. It was doing it manually and missed DisableNSSForkCheck. This was working because ppapi_plugin_main.cc contains a redundant call. This instance and ppapi_plugin_main.cc's instance will be removed at different times (when we can remove the internal remoting plugin and when we can assume the chimera, respectively), so decouple the two to help set up the dominoes for the future removal. BUG=506323 Committed: https://crrev.com/0d6bcbaecce3d7b6607ce36127de3a683c428294 Cr-Commit-Position: refs/heads/master@{#337890}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M chrome/plugin/chrome_content_plugin_client.cc View 1 chunk +1 line, -2 lines 3 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (6 generated)
davidben
I believe this should be like this? We can't remove it until remoting has shipped ...
5 years, 5 months ago (2015-07-06 20:40:42 UTC) #2
jln (very slow on Chromium)
lgtm because I think it's more clear to call InitNSSSafely() rather than call ForceNSSNoDBInit() and ...
5 years, 5 months ago (2015-07-07 17:45:37 UTC) #3
davidben
https://chromiumcodereview.appspot.com/1210973003/diff/1/chrome/plugin/chrome_content_plugin_client.cc File chrome/plugin/chrome_content_plugin_client.cc (right): https://chromiumcodereview.appspot.com/1210973003/diff/1/chrome/plugin/chrome_content_plugin_client.cc#newcode38 chrome/plugin/chrome_content_plugin_client.cc:38: crypto::InitNSSSafely(); On 2015/07/07 17:45:36, jln wrote: > It looks ...
5 years, 5 months ago (2015-07-07 18:14:49 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/1210973003/diff/1/chrome/plugin/chrome_content_plugin_client.cc File chrome/plugin/chrome_content_plugin_client.cc (right): https://codereview.chromium.org/1210973003/diff/1/chrome/plugin/chrome_content_plugin_client.cc#newcode38 chrome/plugin/chrome_content_plugin_client.cc:38: crypto::InitNSSSafely(); On 2015/07/07 18:14:48, David Benjamin wrote: > > ...
5 years, 5 months ago (2015-07-08 10:54:25 UTC) #6
Ryan Sleevi
Bah, LGTM, because we still consider Linux systems that haven't received security updates for 2 ...
5 years, 5 months ago (2015-07-08 16:53:22 UTC) #7
davidben
Chatted with Ryan out-of-band. Here's my understanding of the state of the world, for posterity: ...
5 years, 5 months ago (2015-07-08 18:33:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1210973003/1
5 years, 5 months ago (2015-07-08 18:36:57 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/77106)
5 years, 5 months ago (2015-07-08 18:46:22 UTC) #12
davidben
+jhawkins for OWNERS
5 years, 5 months ago (2015-07-08 19:02:14 UTC) #14
James Hawkins
lgtm
5 years, 5 months ago (2015-07-08 19:49:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1210973003/1
5 years, 5 months ago (2015-07-08 19:50:46 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-08 19:56:42 UTC) #18
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 19:57:55 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0d6bcbaecce3d7b6607ce36127de3a683c428294
Cr-Commit-Position: refs/heads/master@{#337890}

Powered by Google App Engine
This is Rietveld 408576698