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 13473003: Rename ONC field Trust to TrustBits. (Closed)

Created:
7 years, 8 months ago by pneubeck (no reviews)
Modified:
7 years, 8 months ago
CC:
chromium-reviews, gauravsh+watch_chromium.org, tfarina, gspencer+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Rename ONC field Trust to TrustBits. BUG=159058, 216495 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193111

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed comments and test files. #

Patch Set 3 : Clarified comments. #

Total comments: 5

Patch Set 4 : Updated test. #

Total comments: 1

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -71 lines) Patch
M chromeos/docs/onc_spec.html View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M chromeos/network/onc/onc_certificate_importer.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chromeos/network/onc/onc_certificate_importer.cc View 1 2 3 4 7 chunks +21 lines, -16 lines 0 comments Download
M chromeos/network/onc/onc_certificate_importer_unittest.cc View 1 2 3 4 5 chunks +26 lines, -27 lines 0 comments Download
M chromeos/network/onc/onc_constants.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_normalizer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/onc/onc_signature.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chromeos/test/data/network/certificate-server.onc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/test/data/network/certificate-server-update.onc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/test/data/network/certificate-web-authority.onc View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/test/data/network/certificate-web-authority-update.onc View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/test/data/network/invalid_settings_with_repairs.json View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/test/data/network/managed_toplevel2.onc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chromeos/test/data/network/toplevel_openvpn_clientcert.onc View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/test/data/network/toplevel_wifi_eap_clientcert.onc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
pneubeck (no reviews)
@David, we have to rename the ONC field Trust to TrustBits. Could you please verify ...
7 years, 8 months ago (2013-04-02 14:55:29 UTC) #1
Joao da Silva
Looks good to me but there are more files to change: - chromeos/network/onc/onc_certificate_importer.h mentions the ...
7 years, 8 months ago (2013-04-02 15:06:02 UTC) #2
David Roche
We do set Trust=Web in the CPanel, but the feature isn't exposed in production yet, ...
7 years, 8 months ago (2013-04-02 15:08:17 UTC) #3
pneubeck (no reviews)
The existing implementation (upto R27) is unsafe (it doesn't tell the user that the Admin ...
7 years, 8 months ago (2013-04-02 15:11:47 UTC) #4
pneubeck (no reviews)
@Joao, PTAL. https://codereview.chromium.org/13473003/diff/1/chromeos/network/onc/onc_certificate_importer.cc File chromeos/network/onc/onc_certificate_importer.cc (right): https://codereview.chromium.org/13473003/diff/1/chromeos/network/onc/onc_certificate_importer.cc#newcode177 chromeos/network/onc/onc_certificate_importer.cc:177: ONC_LOG_WARNING("Certificate contains unknown trust type " + ...
7 years, 8 months ago (2013-04-03 08:13:06 UTC) #5
Joao da Silva
lgtm https://codereview.chromium.org/13473003/diff/9001/chromeos/network/onc/onc_certificate_importer.cc File chromeos/network/onc/onc_certificate_importer.cc (right): https://codereview.chromium.org/13473003/diff/9001/chromeos/network/onc/onc_certificate_importer.cc#newcode180 chromeos/network/onc/onc_certificate_importer.cc:180: trust_type); It'd be nice to add a test ...
7 years, 8 months ago (2013-04-03 12:49:53 UTC) #6
pneubeck (no reviews)
https://codereview.chromium.org/13473003/diff/9001/chromeos/network/onc/onc_certificate_importer.cc File chromeos/network/onc/onc_certificate_importer.cc (right): https://codereview.chromium.org/13473003/diff/9001/chromeos/network/onc/onc_certificate_importer.cc#newcode180 chromeos/network/onc/onc_certificate_importer.cc:180: trust_type); On 2013/04/03 12:49:53, Joao da Silva wrote: > ...
7 years, 8 months ago (2013-04-04 11:24:49 UTC) #7
Joao da Silva
Still lgtm https://codereview.chromium.org/13473003/diff/9001/chromeos/test/data/network/managed_toplevel2.onc File chromeos/test/data/network/managed_toplevel2.onc (right): https://codereview.chromium.org/13473003/diff/9001/chromeos/test/data/network/managed_toplevel2.onc#newcode78 chromeos/test/data/network/managed_toplevel2.onc:78: "TrustBits": [], On 2013/04/04 11:24:49, pneubeck wrote: ...
7 years, 8 months ago (2013-04-04 11:36:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/13473003/21001
7 years, 8 months ago (2013-04-04 11:37:37 UTC) #9
David Roche
The CPanel has been updated to use TrustBits instead. I'm assuming that it's okay if ...
7 years, 8 months ago (2013-04-04 14:29:10 UTC) #10
pneubeck (no reviews)
On 2013/04/04 14:29:10, David Roche wrote: > The CPanel has been updated to use TrustBits ...
7 years, 8 months ago (2013-04-04 15:39:20 UTC) #11
David Roche
No, the CPanel doesn't send an empty TrustBits. If there are no values, then the ...
7 years, 8 months ago (2013-04-04 15:56:22 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, chrome_frame_net_tests, chrome_frame_tests, chrome_frame_unittests, content_browsertests, installer_util_unittests, ...
7 years, 8 months ago (2013-04-04 16:15:14 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/13473003/21001
7 years, 8 months ago (2013-04-04 16:20:43 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chromeos/network/onc/onc_certificate_importer.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-04 16:20:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/13473003/47001
7 years, 8 months ago (2013-04-09 11:45:08 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/13473003/47001
7 years, 8 months ago (2013-04-09 11:45:38 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=101052
7 years, 8 months ago (2013-04-09 12:43:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/13473003/47001
7 years, 8 months ago (2013-04-09 13:15:57 UTC) #19
commit-bot: I haz the power
7 years, 8 months ago (2013-04-09 15:43:55 UTC) #20
Message was sent while issue was closed.
Change committed as 193111

Powered by Google App Engine
This is Rietveld 408576698