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

Issue 1888913005: Add a hook to inject trusted Cast roots for testing purposes. (Closed)

Created:
4 years, 8 months ago by ryanchung
Modified:
4 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a hook to inject trusted Cast roots for testing purposes. BUG= None Committed: https://crrev.com/6d2e4b2d33365b1b459be8ff139fbefa27265fcb Cr-Commit-Position: refs/heads/master@{#389539}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addresses comments #

Patch Set 3 : Addresses comments #

Patch Set 4 : Rebased #

Patch Set 5 : Renamed function #

Total comments: 4

Patch Set 6 : Added note to comment #

Total comments: 2

Patch Set 7 : Rebased #

Patch Set 8 : Fixed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M extensions/common/cast/cast_cert_validator.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M extensions/common/cast/cast_cert_validator.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
ryanchung
4 years, 8 months ago (2016-04-15 22:54:14 UTC) #2
ryanchung
4 years, 8 months ago (2016-04-18 17:54:43 UTC) #4
eroman
The general API change to make net::TrustStore a parameter sgtm. Some nits on the implementation. ...
4 years, 8 months ago (2016-04-18 18:28:41 UTC) #5
ryanchung
Thanks. https://codereview.chromium.org/1888913005/diff/1/extensions/common/cast/cast_cert_validator.h File extensions/common/cast/cast_cert_validator.h (right): https://codereview.chromium.org/1888913005/diff/1/extensions/common/cast/cast_cert_validator.h#newcode58 extensions/common/cast/cast_cert_validator.h:58: net::TrustAnchor CreateTrustAnchor(const uint8_t (&subject)[SubjectSize], On 2016/04/18 18:28:40, eroman ...
4 years, 8 months ago (2016-04-19 17:19:34 UTC) #6
eroman
sure sgtm
4 years, 8 months ago (2016-04-19 17:22:03 UTC) #7
eroman
BTW https://codereview.chromium.org/1890193003/ has landed, so you can rebase on top of that now.
4 years, 8 months ago (2016-04-21 21:32:12 UTC) #8
ryanchung
Thanks. I've updated the CL. PTAL
4 years, 8 months ago (2016-04-21 22:59:11 UTC) #10
eroman
https://codereview.chromium.org/1888913005/diff/80001/extensions/common/cast/cast_cert_validator.cc File extensions/common/cast/cast_cert_validator.cc (right): https://codereview.chromium.org/1888913005/diff/80001/extensions/common/cast/cast_cert_validator.cc#newcode293 extensions/common/cast/cast_cert_validator.cc:293: return CastTrustStore::Get().AddTrustedCertificateWithoutCopying(data, If you are using the "*WithoutCopying()" flavor, ...
4 years, 8 months ago (2016-04-22 05:58:54 UTC) #11
ryanchung
https://codereview.chromium.org/1888913005/diff/80001/extensions/common/cast/cast_cert_validator.cc File extensions/common/cast/cast_cert_validator.cc (right): https://codereview.chromium.org/1888913005/diff/80001/extensions/common/cast/cast_cert_validator.cc#newcode293 extensions/common/cast/cast_cert_validator.cc:293: return CastTrustStore::Get().AddTrustedCertificateWithoutCopying(data, On 2016/04/22 05:58:54, eroman wrote: > If ...
4 years, 8 months ago (2016-04-22 19:03:50 UTC) #12
eroman
lgtm https://codereview.chromium.org/1888913005/diff/100001/extensions/common/cast/cast_cert_validator.h File extensions/common/cast/cast_cert_validator.h (right): https://codereview.chromium.org/1888913005/diff/100001/extensions/common/cast/cast_cert_validator.h#newcode92 extensions/common/cast/cast_cert_validator.h:92: // |data| must remain valid throughout the lifetime ...
4 years, 8 months ago (2016-04-22 20:03:19 UTC) #13
sheretov
lgtm
4 years, 8 months ago (2016-04-22 21:01:54 UTC) #14
ryanchung
+asargent for //extensions approval
4 years, 8 months ago (2016-04-22 21:06:36 UTC) #16
ryanchung
https://codereview.chromium.org/1888913005/diff/100001/extensions/common/cast/cast_cert_validator.h File extensions/common/cast/cast_cert_validator.h (right): https://codereview.chromium.org/1888913005/diff/100001/extensions/common/cast/cast_cert_validator.h#newcode92 extensions/common/cast/cast_cert_validator.h:92: // |data| must remain valid throughout the lifetime of ...
4 years, 8 months ago (2016-04-22 22:06:02 UTC) #17
asargent_no_longer_on_chrome
lgtm
4 years, 8 months ago (2016-04-25 18:41:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888913005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888913005/140001
4 years, 8 months ago (2016-04-25 18:43:35 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-25 19:37:00 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 19:38:55 UTC) #25
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6d2e4b2d33365b1b459be8ff139fbefa27265fcb
Cr-Commit-Position: refs/heads/master@{#389539}

Powered by Google App Engine
This is Rietveld 408576698