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

Issue 370633003: Break cyclic dependency between CertDatabase and NSSCertDatabase. (Closed)

Created:
6 years, 5 months ago by pneubeck (no reviews)
Modified:
6 years, 5 months ago
Reviewers:
Ryan Sleevi, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Break cyclic dependency between CertDatabase and NSSCertDatabase. Before: - CertDatabase::ObserveNSSCertDatabase(NSSCertDatabase* source) and implementation referenced NSSCertDatabase - NSSCertDatabase() referenced CertDatabase::GetInstance() Now: - CertDatabase has no reference to NSSCertDatabase. - NSSCertDatabase references CertDatabase. BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282594

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebased. #

Patch Set 3 : Clarified Observer semantics. #

Patch Set 4 : Incorporating suggestions #

Total comments: 5

Patch Set 5 : Changed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -65 lines) Patch
M net/cert/cert_database.h View 1 2 3 4 4 chunks +13 lines, -17 lines 0 comments Download
M net/cert/cert_database_nss.cc View 1 2 3 2 chunks +1 line, -34 lines 0 comments Download
M net/cert/nss_cert_database.h View 1 2 3 4 chunks +17 lines, -13 lines 0 comments Download
M net/cert/nss_cert_database.cc View 1 2 3 2 chunks +31 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
pneubeck (no reviews)
Small change that simplifies dependencies a bit for future readers and changes.
6 years, 5 months ago (2014-07-04 09:21:58 UTC) #1
pneubeck (no reviews)
+Matt, I think you touched this code last. ptal.
6 years, 5 months ago (2014-07-08 08:30:36 UTC) #2
mattm
otherwise lgtm https://codereview.chromium.org/370633003/diff/1/net/cert/nss_cert_database.cc File net/cert/nss_cert_database.cc (right): https://codereview.chromium.org/370633003/diff/1/net/cert/nss_cert_database.cc#newcode72 net/cert/nss_cert_database.cc:72: // This makes sure that NSS has ...
6 years, 5 months ago (2014-07-08 21:13:06 UTC) #3
Ryan Sleevi
This still feels like a layering violation for me, and still has a bit of ...
6 years, 5 months ago (2014-07-08 21:36:53 UTC) #4
Ryan Sleevi
To be more constructive: Possible solutions include: 1) CertDatabase describes a way for people to ...
6 years, 5 months ago (2014-07-08 21:41:41 UTC) #5
pneubeck (no reviews)
On 2014/07/08 21:41:41, Ryan Sleevi wrote: > To be more constructive: Possible solutions include: > ...
6 years, 5 months ago (2014-07-09 12:55:48 UTC) #6
Ryan Sleevi
Unfortunately, I don't feel your patchset really addresses the concerns I had, and I apologize, ...
6 years, 5 months ago (2014-07-09 13:31:10 UTC) #7
pneubeck (no reviews)
On 2014/07/09 13:31:10, Ryan Sleevi wrote: > Unfortunately, I don't feel your patchset really addresses ...
6 years, 5 months ago (2014-07-09 13:37:47 UTC) #8
Ryan Sleevi
Yes, I'm saying there is and should be a difference. Observer-type interfaces (where A is ...
6 years, 5 months ago (2014-07-09 13:49:42 UTC) #9
pneubeck (no reviews)
On 2014/07/09 13:49:42, Ryan Sleevi wrote: > Yes, I'm saying there is and should be ...
6 years, 5 months ago (2014-07-09 13:55:23 UTC) #10
pneubeck (no reviews)
@Ryan, ptal
6 years, 5 months ago (2014-07-10 10:14:18 UTC) #11
Ryan Sleevi
lgtm https://codereview.chromium.org/370633003/diff/110001/net/cert/cert_database.h File net/cert/cert_database.h (right): https://codereview.chromium.org/370633003/diff/110001/net/cert/cert_database.h#newcode38 net/cert/cert_database.h:38: // Called with |cert| == NULL after an ...
6 years, 5 months ago (2014-07-10 21:17:14 UTC) #12
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 5 months ago (2014-07-11 06:31:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/370633003/130001
6 years, 5 months ago (2014-07-11 06:31:47 UTC) #14
pneubeck (no reviews)
https://codereview.chromium.org/370633003/diff/110001/net/cert/cert_database.h File net/cert/cert_database.h (right): https://codereview.chromium.org/370633003/diff/110001/net/cert/cert_database.h#newcode38 net/cert/cert_database.h:38: // Called with |cert| == NULL after an import ...
6 years, 5 months ago (2014-07-11 08:39:07 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 09:28:25 UTC) #16
Message was sent while issue was closed.
Change committed as 282594

Powered by Google App Engine
This is Rietveld 408576698