Revert 270694 "A bunch of remaining parts of extension content v..."
commit0e17ccd993fb8d58f2186f94b8ca1f3ddb0fb178
authorjiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 15 May 2014 18:06:19 +0000 (15 18:06 +0000)
committerjiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 15 May 2014 18:06:19 +0000 (15 18:06 +0000)
treea82c448bc7d27558845fdb38c4c267a3b49d8465
parent4cce3fc9ba56aeb9f292628d59f5043da395e3f8
Revert 270694 "A bunch of remaining parts of extension content v..."

> 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
>
> Review URL: https://codereview.chromium.org/289533003

TBR=asargent@chromium.org

Review URL: https://codereview.chromium.org/284223002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270734 0039d316-1c4b-4281-b951-d872f2087c98
16 files changed:
chrome/browser/extensions/extension_system_impl.cc
chrome/common/extensions/extension_constants.cc
chrome/common/extensions/extension_constants.h
extensions/browser/computed_hashes.cc [deleted file]
extensions/browser/computed_hashes.h [deleted file]
extensions/browser/content_hash_fetcher.cc
extensions/browser/content_hash_fetcher.h
extensions/browser/content_hash_reader.cc
extensions/browser/content_hash_reader.h
extensions/browser/content_verifier.cc
extensions/browser/content_verifier_delegate.h
extensions/common/constants.cc
extensions/common/constants.h
extensions/common/file_util.cc
extensions/common/file_util.h
extensions/extensions.gyp