|
Move Cast certificate verification code from extensions to components.
The Cast certificate verification code was previously only used by the
Cast extension. Cast platform would also like to use this code. It did
not make sense to leave this code in extensions as extensions is disabled
on platforms like Android while Cast supports Android TVs.
This CL moves //extensions/common/cast to //components/cast_certificate.
The associated unittests are now included in the components unittests.
Test data for these unittests relocated from //extensions/test/data to
//components/test/data.
BUG= 607373
Committed: https://crrev.com/d318d76b90c04216eff4ffcf9f0a06d122708589
Cr-Commit-Position: refs/heads/master@{#391834}
Total comments: 11
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+144 lines, -3190 lines) |
Patch |
 |
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/DEPS
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/networking_private/networking_private_crypto.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/OWNERS
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate.gypi
|
View
|
|
1 chunk |
+18 lines, -17 lines |
0 comments
|
Download
|
 |
A |
components/cast_certificate/BUILD.gn
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/DEPS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
components/cast_certificate/OWNERS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/cast_cert_validator.h
|
View
|
1
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/cast_cert_validator.cc
|
View
|
|
5 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/cast_cert_validator_test_helpers.h
|
View
|
1
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/cast_cert_validator_test_helpers.cc
|
View
|
1
|
2 chunks |
+14 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/cast_cert_validator_unittest.cc
|
View
|
1
|
14 chunks |
+23 lines, -30 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/cast_root_ca_cert_der-inc.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/cast_certificate/eureka_root_ca_der-inc.h
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
M |
components/components.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/test/data/cast_certificate/OWNERS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/audio_ref_dev_test_chain_3.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/cast_root_ca.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/chromecast_audio.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/chromecast_gen1.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/chromecast_gen1_reissue.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/chromecast_gen2.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/eureka_ca.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/fugu.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/mtk_audio_dev.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/unchained.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/certificates/vizio.pem
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/signeddata/2ZZBG9_FA8FCA3EF91A.pem
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
components/test/data/cast_certificate/signeddata/AudioReferenceDevTest.pem
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/BUILD.gn
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/cast_channel/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/cast_channel/cast_auth_util.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/cast_channel/cast_auth_util_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
D |
extensions/common/cast/cast_cert_validator.h
|
View
|
|
1 chunk |
+0 lines, -103 lines |
0 comments
|
Download
|
 |
D |
extensions/common/cast/cast_cert_validator.cc
|
View
|
|
1 chunk |
+0 lines, -302 lines |
0 comments
|
Download
|
 |
D |
extensions/common/cast/cast_cert_validator_test_helpers.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
extensions/common/cast/cast_cert_validator_test_helpers.cc
|
View
|
|
1 chunk |
+0 lines, -87 lines |
0 comments
|
Download
|
 |
D |
extensions/common/cast/cast_cert_validator_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -423 lines |
0 comments
|
Download
|
 |
D |
extensions/common/cast/cast_root_ca_cert_der-inc.h
|
View
|
|
1 chunk |
+0 lines, -148 lines |
0 comments
|
Download
|
 |
D |
extensions/common/cast/eureka_root_ca_der-inc.h
|
View
|
|
1 chunk |
+0 lines, -146 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions_tests.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions_tests.gypi
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions_unittests.isolate
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/audio_ref_dev_test_chain_3.pem
|
View
|
|
1 chunk |
+0 lines, -264 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/cast_root_ca.pem
|
View
|
|
1 chunk |
+0 lines, -80 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/chromecast_audio.pem
|
View
|
|
1 chunk |
+0 lines, -164 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/chromecast_gen1.pem
|
View
|
|
1 chunk |
+0 lines, -149 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/chromecast_gen1_reissue.pem
|
View
|
|
1 chunk |
+0 lines, -157 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/chromecast_gen2.pem
|
View
|
|
1 chunk |
+0 lines, -157 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/eureka_ca.pem
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/fugu.pem
|
View
|
|
1 chunk |
+0 lines, -242 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/mtk_audio_dev.pem
|
View
|
|
1 chunk |
+0 lines, -255 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/unchained.pem
|
View
|
|
1 chunk |
+0 lines, -82 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_certificates/vizio.pem
|
View
|
|
1 chunk |
+0 lines, -157 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_signeddata/2ZZBG9_FA8FCA3EF91A.pem
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
D |
extensions/test/data/cast_signeddata/AudioReferenceDevTest.pem
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
Total messages: 23 (8 generated)
|