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

Issue 8566056: This applies GUIDs to certificate and key nicknames when (Closed)

Created:
9 years, 1 month ago by Greg Spencer (Chromium)
Modified:
9 years ago
Reviewers:
wtc, zel, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

This applies GUIDs to certificate and key nicknames when imported via ONC. It also centralizes the label creation for nicknames and certificates so that we can better control their values. BUG=chromium-os:19403 TEST=Ran new unit tests, imported certs into certificate store via ONC. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113993

Patch Set 1 #

Patch Set 2 : minor fixes #

Total comments: 6

Patch Set 3 : Review edits #

Total comments: 35

Patch Set 4 : More review changes #

Total comments: 57

Patch Set 5 : Reorganizing to not need CKA_LABEL #

Patch Set 6 : Fix memory leak #

Total comments: 9

Patch Set 7 : Final review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+559 lines, -201 lines) Patch
M chrome/browser/certificate_manager_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.h View 1 2 3 4 4 chunks +27 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.cc View 1 2 3 4 5 6 11 chunks +135 lines, -30 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser_unittest.cc View 1 2 3 4 5 5 chunks +144 lines, -45 lines 0 comments Download
M net/base/cert_database.h View 1 2 3 3 chunks +6 lines, -10 lines 0 comments Download
M net/base/cert_database_nss.cc View 1 2 3 4 3 chunks +8 lines, -29 lines 0 comments Download
M net/base/cert_database_nss_unittest.cc View 1 2 8 chunks +16 lines, -8 lines 0 comments Download
M net/base/cert_database_openssl.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 3 4 4 chunks +41 lines, -2 lines 0 comments Download
M net/base/x509_certificate_nss.cc View 1 2 3 4 4 chunks +99 lines, -2 lines 0 comments Download
M net/third_party/mozilla_security_manager/nsNSSCertificateDB.cpp View 1 2 3 4 3 chunks +18 lines, -20 lines 0 comments Download
M net/third_party/mozilla_security_manager/nsPKCS12Blob.h View 1 chunk +5 lines, -3 lines 0 comments Download
M net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp View 1 2 3 4 7 chunks +57 lines, -36 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Greg Spencer (Chromium)
There's still one issue here, but maybe you have an idea of how to get ...
9 years, 1 month ago (2011-11-21 22:08:55 UTC) #1
Ryan Sleevi
Just a random drive-by: I'm sure you'll want to get wtc to review the net/ ...
9 years, 1 month ago (2011-11-22 00:59:03 UTC) #2
Greg Spencer (Chromium)
On 2011/11/22 00:59:03, Ryan Sleevi wrote: > I'm sure you'll want to get wtc to ...
9 years ago (2011-11-29 00:21:49 UTC) #3
wtc
Review comments on Patch Set 3: I only reviewed the changes under src/net. I like ...
9 years ago (2011-11-29 23:13:57 UTC) #4
wtc
On 2011/11/21 22:08:55, Greg Spencer (Chromium) wrote: > > To fix this, I think I ...
9 years ago (2011-11-29 23:41:45 UTC) #5
Greg Spencer (Chromium)
Ryan, can you confirm that this is what you wanted? On 2011/11/29 00:21:49, Greg Spencer ...
9 years ago (2011-11-30 23:49:50 UTC) #6
Ryan Sleevi
On 2011/11/29 00:21:49, Greg Spencer (Chromium) wrote: > On 2011/11/22 00:59:03, Ryan Sleevi wrote: > ...
9 years ago (2011-12-01 00:14:44 UTC) #7
Greg Spencer (Chromium)
Please take another look, some things have changed. From Ryan's comments, I've moved most of ...
9 years ago (2011-12-02 18:50:04 UTC) #8
Greg Spencer (Chromium)
Ping. We'd like to get this in for R17.
9 years ago (2011-12-07 18:11:42 UTC) #9
wtc
Patch Set 4 LGTM. High-level comments: 1. I don't think we fully understand how NSS ...
9 years ago (2011-12-08 00:07:43 UTC) #10
Greg Spencer (Chromium)
Thanks for your great review, Wan-Teh. I think this finally addresses all the issues we ...
9 years ago (2011-12-09 18:51:38 UTC) #11
wtc
Patch Set 6 LGTM. The main issue is the special case code (first two lines) ...
9 years ago (2011-12-10 00:58:43 UTC) #12
Greg Spencer (Chromium)
http://codereview.chromium.org/8566056/diff/36003/chrome/browser/chromeos/cros/onc_network_parser.cc File chrome/browser/chromeos/cros/onc_network_parser.cc (right): http://codereview.chromium.org/8566056/diff/36003/chrome/browser/chromeos/cros/onc_network_parser.cc#newcode423 chrome/browser/chromeos/cros/onc_network_parser.cc:423: success = cert_database.ImportCACerts(cert_list, trust, &failures); On 2011/12/10 00:58:43, wtc ...
9 years ago (2011-12-12 04:05:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/8566056/43001
9 years ago (2011-12-12 06:24:15 UTC) #14
commit-bot: I haz the power
Presubmit check for 8566056-43001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-12 06:24:23 UTC) #15
Greg Spencer (Chromium)
Zel, I need an OWNERS approval for chrome/browser/chromeos/cros changes. (I'm also thinking I might want ...
9 years ago (2011-12-12 06:27:06 UTC) #16
zel
lgtm
9 years ago (2011-12-12 07:28:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/8566056/43001
9 years ago (2011-12-12 07:29:11 UTC) #18
commit-bot: I haz the power
9 years ago (2011-12-12 08:46:19 UTC) #19
Change committed as 113993

Powered by Google App Engine
This is Rietveld 408576698