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

Issue 474633005: Componentize component_updater: Split crx_file code off into its own component. (Closed)

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

Description

Componentize component_updater: Split crx_file code off into its own component. CRX file code currently lives under extensions/. However, component_updater also uses them to package components. The CRX code should therefore live as its own component. BUG=371463 TBR=blundell@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289966

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : add todo #

Patch Set 4 : remove shared library export #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -206 lines) Patch
M chrome/browser/component_updater/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/component_updater/component_patcher_operation.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/component_updater/component_unpacker.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/component_updater/component_updater_utils.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_creator.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/install_signer.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/sandboxed_unpacker.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 2 chunks +2 lines, -1 line 0 comments Download
M components/components.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A + components/crx_file.gypi View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
A components/crx_file/constants.h View 1 chunk +21 lines, -0 lines 0 comments Download
A + components/crx_file/crx_file.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
A + components/crx_file/crx_file.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M extensions/common/constants.h View 1 chunk +0 lines, -7 lines 0 comments Download
D extensions/common/crx_file.h View 1 chunk +0 lines, -79 lines 0 comments Download
D extensions/common/crx_file.cc View 1 chunk +0 lines, -81 lines 0 comments Download
M extensions/extensions.gyp View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tommycli
Hey guys, How does this look for splitting off the CrxFile definitions from extensions/? This ...
6 years, 4 months ago (2014-08-14 21:51:55 UTC) #1
waffles
lgtm https://codereview.chromium.org/474633005/diff/20001/chrome/browser/component_updater/component_updater_utils.cc File chrome/browser/component_updater/component_updater_utils.cc (left): https://codereview.chromium.org/474633005/diff/20001/chrome/browser/component_updater/component_updater_utils.cc#oldcode184 chrome/browser/component_updater/component_updater_utils.cc:184: DCHECK(extensions::Extension::IdIsValid(id)); On 2014/08/14 21:51:55, tommycli wrote: > Is ...
6 years, 4 months ago (2014-08-14 22:26:29 UTC) #2
tommycli
waffles: Cool thanks asargent: Ready for your review. Thanks!
6 years, 4 months ago (2014-08-14 22:50:48 UTC) #3
Yoyo Zhou
LGTM https://codereview.chromium.org/474633005/diff/20001/chrome/browser/component_updater/component_updater_utils.cc File chrome/browser/component_updater/component_updater_utils.cc (left): https://codereview.chromium.org/474633005/diff/20001/chrome/browser/component_updater/component_updater_utils.cc#oldcode184 chrome/browser/component_updater/component_updater_utils.cc:184: DCHECK(extensions::Extension::IdIsValid(id)); On 2014/08/14 22:26:29, waffles wrote: > On ...
6 years, 4 months ago (2014-08-14 22:51:16 UTC) #4
tommycli
yoz: Thanks for jumping in. I responded below. https://codereview.chromium.org/474633005/diff/20001/chrome/browser/component_updater/component_updater_utils.cc File chrome/browser/component_updater/component_updater_utils.cc (left): https://codereview.chromium.org/474633005/diff/20001/chrome/browser/component_updater/component_updater_utils.cc#oldcode184 chrome/browser/component_updater/component_updater_utils.cc:184: DCHECK(extensions::Extension::IdIsValid(id)); ...
6 years, 4 months ago (2014-08-14 23:09:03 UTC) #5
Sorin Jianu
Thank you Tommy! As discussed, consider getting feedback from the owners of src/components when to ...
6 years, 4 months ago (2014-08-15 00:43:51 UTC) #6
tommycli
sorin: As discussed, I removed the shared library export, since it's such a tiny piece ...
6 years, 4 months ago (2014-08-15 14:41:42 UTC) #7
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-08-15 18:25:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/474633005/60001
6 years, 4 months ago (2014-08-15 18:27:34 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (60001) as 289966
6 years, 4 months ago (2014-08-15 19:07:46 UTC) #10
blundell
6 years, 4 months ago (2014-08-25 08:41:20 UTC) #11
Message was sent while issue was closed.
It's optional for components to be built as shared libraries.

Powered by Google App Engine
This is Rietveld 408576698