|
A bunch of remaining parts of extension content verification (Reland)
-The real guts of content_hash_fetcher.cc, which fetches the
verified_contents.json file from the webstore if needed and also runs
tasks to compute and cache the block-level hashes of all files in an
extension.
-The real guts of content_hash_reader.cc, which uses the work done by
the content_hash_fetcher during validation of extension file content as
it's read off of disk at time of use.
-Code to avoid verifying transcoded files (images used in browser
process, and message catalogs).
-Don't allow downgrade of mode via kForceFieldTrials command line switch
-Various bits of plumbing to support all of the above
This is a re-land with fixes; original review was:
https://codereview.chromium.org/289533003
BUG= 369895, 373854
R=rockot@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270937
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+821 lines, -17 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_system_impl.cc
|
View
|
|
4 chunks |
+38 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_constants.h
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_constants.cc
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
A |
extensions/browser/computed_hashes.h
|
View
|
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/computed_hashes.cc
|
View
|
|
1 chunk |
+129 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/content_hash_fetcher.h
|
View
|
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/content_hash_fetcher.cc
|
View
|
1
|
2 chunks |
+394 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/content_hash_reader.h
|
View
|
|
4 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/content_hash_reader.cc
|
View
|
1
|
2 chunks |
+72 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/content_verifier.cc
|
View
|
|
4 chunks |
+46 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/content_verifier_delegate.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/content_verify_job.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/common/constants.h
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/constants.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/file_util.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/file_util.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|