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

Issue 76653003: Don't use nss_util in CertificateManagerModel::IsHardwareBacked. (Closed)

Created:
7 years, 1 month ago by mattm
Modified:
7 years, 1 month ago
Reviewers:
xiyuan, wtc, James Hawkins
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Don't use nss_util in CertificateManagerModel::IsHardwareBacked. Avoids threading issues. IsHardwareBacked works on non-ChromeOS platforms now too. BUG=125848 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236160

Patch Set 1 #

Patch Set 2 : hardware backed message doesn't need to be chromeos specific now #

Total comments: 3

Patch Set 3 : build fix, comment fix, remove unused webui strings #

Total comments: 1

Patch Set 4 : hyphenate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -28 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/certificate_manager_model.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/certificate_manager_model.cc View 1 4 chunks +2 lines, -16 lines 0 comments Download
M chrome/browser/ui/webui/options/certificate_manager_handler.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M net/cert/nss_cert_database.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/cert/nss_cert_database.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
mattm
7 years, 1 month ago (2013-11-19 21:49:58 UTC) #1
mattm
little update: the IsHardwareBacked test isn't chromeos specific anymore, so I removed the chromeos ifdefs ...
7 years, 1 month ago (2013-11-19 22:15:36 UTC) #2
wtc
Patch set 2 LGTM. https://codereview.chromium.org/76653003/diff/70001/chrome/browser/certificate_manager_model.cc File chrome/browser/certificate_manager_model.cc (left): https://codereview.chromium.org/76653003/diff/70001/chrome/browser/certificate_manager_model.cc#oldcode163 chrome/browser/certificate_manager_model.cc:163: cert_db_->GetPrivateModule()->os_module_handle(); Please doublecheck this is ...
7 years, 1 month ago (2013-11-19 22:30:53 UTC) #3
mattm
+xiyuan to double-check the IsHardwareBacked change is ok from chromeos side. Also to double-check the ...
7 years, 1 month ago (2013-11-19 22:47:03 UTC) #4
mattm
https://codereview.chromium.org/76653003/diff/70001/chrome/browser/certificate_manager_model.cc File chrome/browser/certificate_manager_model.cc (right): https://codereview.chromium.org/76653003/diff/70001/chrome/browser/certificate_manager_model.cc#newcode150 chrome/browser/certificate_manager_model.cc:150: bool CertificateManagerModel::IsHardwareBacked( On 2013/11/19 22:30:53, wtc wrote: > > ...
7 years, 1 month ago (2013-11-19 22:47:26 UTC) #5
wtc
Patch set 3 LGTM. https://codereview.chromium.org/76653003/diff/70002/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/76653003/diff/70002/chrome/app/generated_resources.grd#newcode3258 chrome/app/generated_resources.grd:3258: + <message name="IDS_CERT_MANAGER_HARDWARE_BACKED" desc="A device ...
7 years, 1 month ago (2013-11-19 23:07:43 UTC) #6
xiyuan
LGTM
7 years, 1 month ago (2013-11-19 23:13:34 UTC) #7
mattm
+jhawkins for chrome/browser OWNERS
7 years, 1 month ago (2013-11-19 23:24:20 UTC) #8
James Hawkins
lgtm
7 years, 1 month ago (2013-11-19 23:25:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/76653003/270001
7 years, 1 month ago (2013-11-19 23:48:31 UTC) #10
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 05:07:06 UTC) #11
Message was sent while issue was closed.
Change committed as 236160

Powered by Google App Engine
This is Rietveld 408576698