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

Issue 420503002: Componentize component_updater: Decouple in-process DeltaUpdateOp from out-of-process version. (Closed)

Created:
6 years, 5 months ago by tommycli
Modified:
6 years, 4 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Componentize component_updater: Decouple in-process DeltaUpdateOp from out-of-process version. The in-process DeltaUpdateOps don't require content/ and can be eventually used on iOS, whereas the out-of-process version needs to stay in chrome/. Part 1d in design doc here: https://docs.google.com/document/d/1F76yNZCnPnGzgNXhI-sCFKlXulwx_s_OKTGbJS5NhbA/edit?usp=sharing BUG=371463 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287484

Patch Set 1 #

Patch Set 2 : lower similarity to 20 #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : change DeltaUpdateOpFactory to use scoped_ptr #

Patch Set 5 : #

Patch Set 6 : remove stray function #

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Patch Set 9 : run git cl format and git cl lint #

Total comments: 2

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -344 lines) Patch
M chrome/browser/component_updater/component_patcher.h View 1 2 3 4 5 6 4 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/component_updater/component_patcher.cc View 1 2 3 4 5 6 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/component_updater/component_patcher_operation.h View 1 2 3 4 5 6 7 8 9 7 chunks +30 lines, -59 lines 0 comments Download
M chrome/browser/component_updater/component_patcher_operation.cc View 1 2 3 4 5 6 7 8 9 6 chunks +57 lines, -202 lines 0 comments Download
A + chrome/browser/component_updater/component_patcher_operation_out_of_process.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -35 lines 0 comments Download
A chrome/browser/component_updater/component_patcher_operation_out_of_process.cc View 1 2 3 4 5 6 7 8 1 chunk +110 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/component_unpacker.h View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/component_updater/component_unpacker.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/component_updater_configurator.h View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/component_updater/component_updater_configurator.cc View 1 2 3 4 5 6 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/component_updater_service.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/component_updater/test/component_patcher_unittest.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/component_updater/test/component_patcher_unittest.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/component_updater/test/test_configurator.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/component_updater/test/test_configurator.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_utility_messages.h View 1 2 3 4 5 6 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 5 6 2 chunks +4 lines, -10 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
tommycli
PTAL: This enables the eventual move of the in-process patcher operations to components/
6 years, 5 months ago (2014-07-24 20:31:16 UTC) #1
tommycli
On 2014/07/24 20:31:16, tommycli wrote: > PTAL: This enables the eventual move of the in-process ...
6 years, 5 months ago (2014-07-24 20:34:24 UTC) #2
blundell
Hi Tommy, Is there a design outlining the strategy of the changes here? Thanks, Colin ...
6 years, 5 months ago (2014-07-25 07:40:42 UTC) #3
tommycli
Overall strategy in Design doc section 1d: https://docs.google.com/document/d/1F76yNZCnPnGzgNXhI-sCFKlXulwx_s_OKTGbJS5NhbA/edit?usp=sharing Mostly based on a conversation we had ...
6 years, 4 months ago (2014-07-25 18:08:47 UTC) #4
Sorin Jianu
Thank you Tommy. I'd like to offer an idea about how to deal with the ...
6 years, 4 months ago (2014-07-28 17:08:08 UTC) #5
Sorin Jianu
Thank you Tommy. I'd like to offer an idea about how to deal with the ...
6 years, 4 months ago (2014-07-28 17:14:48 UTC) #6
tommycli
On 2014/07/28 17:14:48, Sorin Jianu wrote: > Thank you Tommy. I'd like to offer an ...
6 years, 4 months ago (2014-07-28 18:09:13 UTC) #7
tommycli
On 2014/07/28 18:09:13, tommycli wrote: > On 2014/07/28 17:14:48, Sorin Jianu wrote: > > Thank ...
6 years, 4 months ago (2014-07-28 18:11:15 UTC) #8
Sorin Jianu
Tommy, I was saying that Chrome needs the code for both in-process and out-of-process patching.
6 years, 4 months ago (2014-07-28 18:16:37 UTC) #9
tommycli
On 2014/07/28 18:16:37, Sorin Jianu wrote: > Tommy, I was saying that Chrome needs the ...
6 years, 4 months ago (2014-07-28 18:27:37 UTC) #10
Sorin Jianu
On 2014/07/28 18:09:13, tommycli wrote: > On 2014/07/28 17:14:48, Sorin Jianu wrote: > > Thank ...
6 years, 4 months ago (2014-07-28 18:32:31 UTC) #11
tommycli
sorin: I made some changes based on your suggestion. See if this looks better to ...
6 years, 4 months ago (2014-07-28 20:04:19 UTC) #12
waffles
My major concern with this code is that it seems wrong to inject actual delta ...
6 years, 4 months ago (2014-07-29 23:54:09 UTC) #13
tommycli
On 2014/07/29 23:54:09, waffles wrote: > My major concern with this code is that it ...
6 years, 4 months ago (2014-07-30 00:26:28 UTC) #14
tommycli
On 2014/07/30 00:26:28, tommycli wrote: > On 2014/07/29 23:54:09, waffles wrote: > > My major ...
6 years, 4 months ago (2014-07-30 18:02:53 UTC) #15
waffles
On 2014/07/30 18:02:53, tommycli wrote: > On 2014/07/30 00:26:28, tommycli wrote: > > On 2014/07/29 ...
6 years, 4 months ago (2014-07-30 22:46:11 UTC) #16
tommycli
waffles: I switched some stuff up based on your feedback. See if you like this ...
6 years, 4 months ago (2014-07-31 19:53:52 UTC) #17
waffles
Yes, I like this much better, thank you. Sorin, any comments? https://codereview.chromium.org/420503002/diff/120001/chrome/browser/component_updater/component_patcher_operation_out_of_process.cc File chrome/browser/component_updater/component_patcher_operation_out_of_process.cc (right): ...
6 years, 4 months ago (2014-07-31 21:54:27 UTC) #18
Sorin Jianu
lgtm Thank you Tommy. I am ok with this from a design and style standpoint. ...
6 years, 4 months ago (2014-07-31 23:29:15 UTC) #19
tommycli
sorin/waffles: here you go sorin: i just ran git cl format and lint. Thanks! https://codereview.chromium.org/420503002/diff/120001/chrome/browser/component_updater/component_patcher_operation.h ...
6 years, 4 months ago (2014-08-04 20:25:14 UTC) #20
tommycli
tsepez: chrome/common/*_messages.h changes. Thanks!
6 years, 4 months ago (2014-08-04 20:27:40 UTC) #21
Tom Sepez
Messages LGTM. https://codereview.chromium.org/420503002/diff/160001/chrome/browser/component_updater/component_patcher_operation.h File chrome/browser/component_updater/component_patcher_operation.h (right): https://codereview.chromium.org/420503002/diff/160001/chrome/browser/component_updater/component_patcher_operation.h#newcode23 chrome/browser/component_updater/component_patcher_operation.h:23: const char kOp[] = "op"; nit: usually ...
6 years, 4 months ago (2014-08-04 20:40:08 UTC) #22
tommycli
https://codereview.chromium.org/420503002/diff/160001/chrome/browser/component_updater/component_patcher_operation.h File chrome/browser/component_updater/component_patcher_operation.h (right): https://codereview.chromium.org/420503002/diff/160001/chrome/browser/component_updater/component_patcher_operation.h#newcode23 chrome/browser/component_updater/component_patcher_operation.h:23: const char kOp[] = "op"; On 2014/08/04 20:40:08, Tom ...
6 years, 4 months ago (2014-08-04 21:07:25 UTC) #23
waffles
lgtm
6 years, 4 months ago (2014-08-04 21:14:55 UTC) #24
waffles
On 2014/08/04 21:14:55, waffles wrote: > lgtm Thank you Tommy, this all looks good to ...
6 years, 4 months ago (2014-08-04 21:18:31 UTC) #25
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-08-05 00:04:09 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/420503002/180001
6 years, 4 months ago (2014-08-05 00:06:15 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 01:16:36 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 01:20:05 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/1970)
6 years, 4 months ago (2014-08-05 01:20:07 UTC) #30
tommycli
Thestig: chrome_utility_client review needed. Thanks!
6 years, 4 months ago (2014-08-05 01:23:33 UTC) #31
Lei Zhang
lgtm
6 years, 4 months ago (2014-08-05 01:30:15 UTC) #32
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-08-05 05:11:42 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/420503002/180001
6 years, 4 months ago (2014-08-05 05:13:18 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 05:35:03 UTC) #35
commit-bot: I haz the power
Change committed as 287484
6 years, 4 months ago (2014-08-05 07:52:45 UTC) #36
blundell
6 years, 4 months ago (2014-08-06 08:52:36 UTC) #37
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698