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

Issue 289533003: A bunch of remaining parts of extension content verification (Closed)

Created:
6 years, 7 months ago by asargent_no_longer_on_chrome
Modified:
6 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

A bunch of remaining parts of extension content verification -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 BUG=369895 R=rockot@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270694

Patch Set 1 : ready for review #

Patch Set 2 : small fix to how we compute the url for fetching verified contents files #

Total comments: 6

Patch Set 3 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+816 lines, -16 lines) Patch
M chrome/browser/extensions/extension_system_impl.cc View 1 2 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 2 chunks +392 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 2 chunks +70 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/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

Messages

Total messages: 12 (0 generated)
asargent_no_longer_on_chrome
6 years, 7 months ago (2014-05-14 19:51:45 UTC) #1
asargent_no_longer_on_chrome
Sorry for churn in middle of review, but I uploaded a new patch with a ...
6 years, 7 months ago (2014-05-14 23:55:40 UTC) #2
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/289533003/diff/120001/extensions/browser/computed_hashes.h File extensions/browser/computed_hashes.h (right): https://codereview.chromium.org/289533003/diff/120001/extensions/browser/computed_hashes.h#newcode24 extensions/browser/computed_hashes.h:24: class Reader { nit: I guess I'd rather ...
6 years, 7 months ago (2014-05-15 00:51:25 UTC) #3
asargent_no_longer_on_chrome
https://codereview.chromium.org/289533003/diff/120001/extensions/browser/computed_hashes.h File extensions/browser/computed_hashes.h (right): https://codereview.chromium.org/289533003/diff/120001/extensions/browser/computed_hashes.h#newcode24 extensions/browser/computed_hashes.h:24: class Reader { On 2014/05/15 00:51:25, Ken Rockot wrote: ...
6 years, 7 months ago (2014-05-15 04:02:48 UTC) #4
asargent_no_longer_on_chrome
The CQ bit was checked by asargent@chromium.org
6 years, 7 months ago (2014-05-15 04:03:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asargent@chromium.org/289533003/130017
6 years, 7 months ago (2014-05-15 04:03:59 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 05:44:20 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 05:47:45 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/152199)
6 years, 7 months ago (2014-05-15 05:47:46 UTC) #9
USE_CHROMIUM_ACCT_INSTEAD
The CQ bit was checked by asargent@google.com
6 years, 7 months ago (2014-05-15 13:04:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asargent@chromium.org/289533003/130017
6 years, 7 months ago (2014-05-15 13:05:10 UTC) #11
asargent_no_longer_on_chrome
6 years, 7 months ago (2014-05-15 17:02:44 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 manually as r270694 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698