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

Issue 280013003: More implementation details 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

More implementation details of extension content verification -Added classes for fetching/reading file hashes (.cc details are still mostly stubs in this CL though) -Added a delegate class for ContentVerifier to rework how clients interact with it -Added code in ContentVerifyJob that uses the hash reader class BUG=369895 R=rockot@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269633

Patch Set 1 : ready for review #

Total comments: 4

Patch Set 2 : got ExtensionService out of the ContentVerifierDelegate business #

Patch Set 3 : merged latest trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+511 lines, -107 lines) Patch
M chrome/browser/extensions/extension_service.h View 1 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 1 5 chunks +43 lines, -13 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 chunk +30 lines, -0 lines 0 comments Download
A extensions/browser/content_hash_fetcher.h View 1 chunk +62 lines, -0 lines 0 comments Download
A extensions/browser/content_hash_fetcher.cc View 1 chunk +38 lines, -0 lines 0 comments Download
A extensions/browser/content_hash_reader.h View 1 chunk +66 lines, -0 lines 0 comments Download
A extensions/browser/content_hash_reader.cc View 1 chunk +41 lines, -0 lines 0 comments Download
M extensions/browser/content_verifier.h View 1 4 chunks +10 lines, -23 lines 0 comments Download
M extensions/browser/content_verifier.cc View 1 2 chunks +34 lines, -26 lines 0 comments Download
A extensions/browser/content_verifier_delegate.h View 1 1 chunk +56 lines, -0 lines 0 comments Download
D extensions/browser/content_verifier_filter.h View 1 chunk +0 lines, -23 lines 0 comments Download
M extensions/browser/content_verify_job.h View 3 chunks +37 lines, -7 lines 0 comments Download
M extensions/browser/content_verify_job.cc View 3 chunks +84 lines, -4 lines 0 comments Download
M extensions/extensions.gyp View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
asargent_no_longer_on_chrome
6 years, 7 months ago (2014-05-09 23:16:34 UTC) #1
Ken Rockot(use gerrit already)
LGTM but some questions & comments https://codereview.chromium.org/280013003/diff/20001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): https://codereview.chromium.org/280013003/diff/20001/chrome/browser/extensions/extension_service.h#newcode132 chrome/browser/extensions/extension_service.h:132: public extensions::ContentVerifierDelegate { ...
6 years, 7 months ago (2014-05-09 23:51:15 UTC) #2
asargent_no_longer_on_chrome
https://codereview.chromium.org/280013003/diff/20001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): https://codereview.chromium.org/280013003/diff/20001/chrome/browser/extensions/extension_service.h#newcode132 chrome/browser/extensions/extension_service.h:132: public extensions::ContentVerifierDelegate { On 2014/05/09 23:51:16, Ken Rockot wrote: ...
6 years, 7 months ago (2014-05-10 00:12:43 UTC) #3
asargent_no_longer_on_chrome
Ok, moved to having a little standalone delegate impl class inside extension_system_impl.cc.
6 years, 7 months ago (2014-05-10 03:36:23 UTC) #4
asargent_no_longer_on_chrome
The CQ bit was checked by asargent@chromium.org
6 years, 7 months ago (2014-05-10 03:36:28 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/280013003/60001
6 years, 7 months ago (2014-05-10 03:39:05 UTC) #6
asargent_no_longer_on_chrome
The CQ bit was checked by asargent@chromium.org
6 years, 7 months ago (2014-05-10 05:51:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asargent@chromium.org/280013003/80001
6 years, 7 months ago (2014-05-10 05:52:47 UTC) #8
asargent_no_longer_on_chrome
6 years, 7 months ago (2014-05-10 20:44:44 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r269633 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698