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

Issue 663583006: Remove nss_util dependency from ClientCertStoreChromeOS. (Closed)

Created:
6 years, 1 month ago by pneubeck (no reviews)
Modified:
6 years, 1 month ago
Reviewers:
*Lei Zhang, *Ryan Sleevi, *mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove nss_util dependency from ClientCertStoreChromeOS. This required for the new CertDatabaseService https://codereview.chromium.org/419013003/ which will (at least temporarily) depend on net/. Without this change, that would lead to a cyclic dependency between net/ and cert_database/ . This makes several tests in client_cert_store_chromeos_unittest, like cross-reading between user slots and the system slot, unnecessary. These are already covered in the unit tests for NSSProfileFilterChromeOS. This also removes this knowledge about users and the system slot from net/, which are Chrome/ChromeOS details that don't belong into net/. BUG=413219 Committed: https://crrev.com/a23ed1aa7781d6606fe95bd72bf5afdfc27cf5bf Cr-Commit-Position: refs/heads/master@{#302430}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Addressed feedback. #

Patch Set 4 : Fixed is_null() check. #

Patch Set 5 : Updating OWNERS #

Total comments: 6

Patch Set 6 : Addressed comments. #

Patch Set 7 : Sort OWNERS. #

Patch Set 8 : Add client_cert_filter* to OWNERS too. #

Patch Set 9 : Rebased. #

Patch Set 10 : Fixed typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -253 lines) Patch
M chrome/browser/chromeos/net/OWNERS View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/net/client_cert_filter_chromeos.h View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/net/client_cert_filter_chromeos.cc View 1 2 3 4 5 6 7 8 9 1 chunk +76 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M net/ssl/client_cert_store_chromeos.h View 1 2 3 4 5 2 chunks +28 lines, -16 lines 0 comments Download
M net/ssl/client_cert_store_chromeos.cc View 1 4 chunks +26 lines, -55 lines 0 comments Download
M net/ssl/client_cert_store_chromeos_unittest.cc View 1 8 chunks +100 lines, -180 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
pneubeck (no reviews)
Hi Matt, I separated the ClientCertStoreChromeOS change from the larger CL. I wasn't happy with ...
6 years, 1 month ago (2014-10-27 09:08:25 UTC) #6
mattm
This approach seems fine to me. https://codereview.chromium.org/663583006/diff/70001/chrome/browser/chromeos/net/cert_profile_filter.cc File chrome/browser/chromeos/net/cert_profile_filter.cc (right): https://codereview.chromium.org/663583006/diff/70001/chrome/browser/chromeos/net/cert_profile_filter.cc#newcode58 chrome/browser/chromeos/net/cert_profile_filter.cc:58: got_private_slot_callback.Run(private_slot.Pass()); It looks ...
6 years, 1 month ago (2014-10-28 03:00:24 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/663583006/diff/70001/chrome/browser/chromeos/net/cert_profile_filter.cc File chrome/browser/chromeos/net/cert_profile_filter.cc (right): https://codereview.chromium.org/663583006/diff/70001/chrome/browser/chromeos/net/cert_profile_filter.cc#newcode58 chrome/browser/chromeos/net/cert_profile_filter.cc:58: got_private_slot_callback.Run(private_slot.Pass()); On 2014/10/28 03:00:24, mattm wrote: > It looks ...
6 years, 1 month ago (2014-10-28 09:44:37 UTC) #9
pneubeck (no reviews)
Dave please owner review the changes in chrome/browser Matt, who previously changed these parts, is ...
6 years, 1 month ago (2014-10-28 09:49:02 UTC) #12
DaveMoore
On 2014/10/28 09:49:02, pneubeck wrote: > Dave please owner review the changes in > chrome/browser ...
6 years, 1 month ago (2014-10-29 15:41:31 UTC) #13
pneubeck (no reviews)
Are you all OK with adding Matt and Ryan as owners of the files in ...
6 years, 1 month ago (2014-10-29 15:53:07 UTC) #16
mattm
lgtm https://codereview.chromium.org/663583006/diff/150001/chrome/browser/chromeos/net/client_cert_filter_chromeos.h File chrome/browser/chromeos/net/client_cert_filter_chromeos.h (right): https://codereview.chromium.org/663583006/diff/150001/chrome/browser/chromeos/net/client_cert_filter_chromeos.h#newcode53 chrome/browser/chromeos/net/client_cert_filter_chromeos.h:53: crypto::ScopedPK11Slot private_slot_; maybe add a comment that these ...
6 years, 1 month ago (2014-10-29 21:10:53 UTC) #17
Ryan Sleevi
lgtm https://codereview.chromium.org/663583006/diff/150001/net/ssl/client_cert_store_chromeos.h File net/ssl/client_cert_store_chromeos.h (right): https://codereview.chromium.org/663583006/diff/150001/net/ssl/client_cert_store_chromeos.h#newcode22 net/ssl/client_cert_store_chromeos.h:22: // Initializes this filter. Returns true if it ...
6 years, 1 month ago (2014-10-29 23:48:08 UTC) #18
pneubeck (no reviews)
https://codereview.chromium.org/663583006/diff/150001/chrome/browser/chromeos/net/client_cert_filter_chromeos.h File chrome/browser/chromeos/net/client_cert_filter_chromeos.h (right): https://codereview.chromium.org/663583006/diff/150001/chrome/browser/chromeos/net/client_cert_filter_chromeos.h#newcode53 chrome/browser/chromeos/net/client_cert_filter_chromeos.h:53: crypto::ScopedPK11Slot private_slot_; On 2014/10/29 21:10:53, mattm wrote: > maybe ...
6 years, 1 month ago (2014-10-30 08:24:40 UTC) #19
pneubeck (no reviews)
@thestig please lgtm the OWNER change if acceptable.
6 years, 1 month ago (2014-10-31 16:16:01 UTC) #22
Lei Zhang
On 2014/10/31 16:16:01, pneubeck wrote: > @thestig > please lgtm the OWNER change if acceptable. ...
6 years, 1 month ago (2014-10-31 18:25:42 UTC) #23
pneubeck (no reviews)
Sorry, I missed to add the client_cert_filter* to the OWNERS in the last patch. Added ...
6 years, 1 month ago (2014-11-03 10:17:55 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663583006/220001
6 years, 1 month ago (2014-11-03 10:20:05 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/7753)
6 years, 1 month ago (2014-11-03 10:55:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663583006/240001
6 years, 1 month ago (2014-11-03 14:58:21 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:240001)
6 years, 1 month ago (2014-11-03 15:40:52 UTC) #33
commit-bot: I haz the power
6 years, 1 month ago (2014-11-03 15:41:23 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/a23ed1aa7781d6606fe95bd72bf5afdfc27cf5bf
Cr-Commit-Position: refs/heads/master@{#302430}

Powered by Google App Engine
This is Rietveld 408576698