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

Issue 25883006: Support asynchronous patching operations in the component updater. (Closed)

Created:
7 years, 2 months ago by waffles
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@tests
Visibility:
Public.

Description

Support asynchronous patching operations in the component updater. First part of a 2-part changelist. The second part is https://codereview.chromium.org/25909005/ BUG=304879 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248144

Patch Set 1 #

Patch Set 2 : Switch ComponentUnpacker into namespace, reorganize #

Patch Set 3 : New LKGR, Windows fixes. #

Total comments: 8

Patch Set 4 : Explicit ownership; simplifications. #

Patch Set 5 : Updates & Refactors #

Patch Set 6 : Threading model changes. #

Total comments: 34

Patch Set 7 : sorin@, cpu@ review #

Total comments: 6

Patch Set 8 : sorin@ review #

Patch Set 9 : Rebase to LKGR r244448 #

Patch Set 10 : Windows fixes. #

Patch Set 11 : Rebase to LKGR/246087 #

Patch Set 12 : Windows fixes. #

Patch Set 13 : Clean up some merge leakage. #

Total comments: 33

Patch Set 14 : git cl try #

Patch Set 15 : sorin@ review - prev upload snafu #

Total comments: 4

Patch Set 16 : sorin@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -114 lines) Patch
M chrome/browser/component_updater/component_patcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/component_updater/component_patcher.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +21 lines, -15 lines 0 comments Download
M chrome/browser/component_updater/component_patcher_operation.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/component_updater/component_patcher_operation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/component_updater/component_patcher_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/component_updater/component_unpacker.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +86 lines, -11 lines 0 comments Download
M chrome/browser/component_updater/component_unpacker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +122 lines, -60 lines 0 comments Download
M chrome/browser/component_updater/component_updater_configurator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/component_updater/component_updater_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/component_updater/component_updater_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +26 lines, -9 lines 0 comments Download
M chrome/browser/component_updater/test/component_patcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
waffles
Hi Sorin, please take a look at these two CLs for cross-platform patching. This CL ...
7 years, 2 months ago (2013-10-07 17:52:07 UTC) #1
waffles
+Carlos
7 years, 2 months ago (2013-10-24 00:11:06 UTC) #2
cpu_(ooo_6.6-7.5)
waffles, can you flesh out the bug with the approach we are taking, e.g using ...
7 years, 1 month ago (2013-10-25 23:31:35 UTC) #3
cpu_(ooo_6.6-7.5)
maybe I am looking at the CL before is ready to be looked at? https://codereview.chromium.org/25883006/diff/6001/chrome/browser/component_updater/component_unpacker.cc ...
7 years, 1 month ago (2013-10-25 23:59:26 UTC) #4
waffles
Thanks for the comments, Sorin, Carlos; please take another look. Sorin: I've tried out explicit ...
7 years, 1 month ago (2013-10-28 22:13:22 UTC) #5
cpu_(ooo_6.6-7.5)
Thanks that last explanation was extremely helpful. We do use PostTask for that purpose sometimes. ...
7 years, 1 month ago (2013-10-28 22:22:50 UTC) #6
waffles
Hi Sorin, Carlos; please take another look at this first part of the two-part CL ...
7 years, 1 month ago (2013-11-12 18:07:29 UTC) #7
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_unpacker.h File chrome/browser/component_updater/component_unpacker.h (right): https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_unpacker.h#newcode23 chrome/browser/component_updater/component_unpacker.h:23: enum Error { what is the advantage of moving ...
7 years, 1 month ago (2013-11-20 02:24:52 UTC) #8
Sorin Jianu
Thank you Josh! https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_patcher.h File chrome/browser/component_updater/component_patcher.h (right): https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_patcher.h#newcode54 chrome/browser/component_updater/component_patcher.h:54: virtual component_updater::Error Patch(PatchType patch_type, it would ...
7 years, 1 month ago (2013-11-21 19:48:37 UTC) #9
Sorin Jianu
https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_unpacker.h File chrome/browser/component_updater/component_unpacker.h (right): https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_unpacker.h#newcode142 chrome/browser/component_updater/component_unpacker.h:142: scoped_refptr<base::SequencedTaskRunner> task_runner_; is SequencedTaskRunner declared anywhere?
7 years, 1 month ago (2013-11-22 00:09:20 UTC) #10
waffles
Thanks! PTAL. https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_patcher.h File chrome/browser/component_updater/component_patcher.h (right): https://codereview.chromium.org/25883006/diff/296001/chrome/browser/component_updater/component_patcher.h#newcode54 chrome/browser/component_updater/component_patcher.h:54: virtual component_updater::Error Patch(PatchType patch_type, On 2013/11/21 19:48:37, ...
7 years ago (2013-11-26 00:46:54 UTC) #11
Sorin Jianu
lgtm Thank you Josh! https://codereview.chromium.org/25883006/diff/476001/chrome/browser/component_updater/component_patcher_operation.h File chrome/browser/component_updater/component_patcher_operation.h (right): https://codereview.chromium.org/25883006/diff/476001/chrome/browser/component_updater/component_patcher_operation.h#newcode35 chrome/browser/component_updater/component_patcher_operation.h:35: component_updater::ComponentUnpacker::Error Run( namespace needed here ...
7 years ago (2013-11-27 00:34:00 UTC) #12
Sorin Jianu
7 years ago (2013-11-27 00:34:10 UTC) #13
waffles
Thanks! https://codereview.chromium.org/25883006/diff/476001/chrome/browser/component_updater/component_patcher_operation.h File chrome/browser/component_updater/component_patcher_operation.h (right): https://codereview.chromium.org/25883006/diff/476001/chrome/browser/component_updater/component_patcher_operation.h#newcode35 chrome/browser/component_updater/component_patcher_operation.h:35: component_updater::ComponentUnpacker::Error Run( On 2013/11/27 00:34:01, Sorin Jianu wrote: ...
7 years ago (2013-11-27 01:26:42 UTC) #14
waffles
Hi Carlos, Sorin; Please take another look at this CL. Carlos, if you'd rather just ...
6 years, 11 months ago (2014-01-24 20:41:38 UTC) #15
Sorin Jianu
Thank you Josh, please read the comments with full stomach, they are all nitpicks except ...
6 years, 11 months ago (2014-01-25 02:30:20 UTC) #16
waffles
Thanks! PTAL. https://codereview.chromium.org/25883006/diff/1326001/chrome/browser/component_updater/component_patcher.cc File chrome/browser/component_updater/component_patcher.cc (right): https://codereview.chromium.org/25883006/diff/1326001/chrome/browser/component_updater/component_patcher.cc#newcode61 chrome/browser/component_updater/component_patcher.cc:61: if (!commands.get()) { On 2014/01/25 02:30:21, Sorin ...
6 years, 10 months ago (2014-01-28 21:06:30 UTC) #17
Sorin Jianu
Thank you! https://codereview.chromium.org/25883006/diff/1326001/chrome/browser/component_updater/component_unpacker.cc File chrome/browser/component_updater/component_unpacker.cc (right): https://codereview.chromium.org/25883006/diff/1326001/chrome/browser/component_updater/component_unpacker.cc#newcode210 chrome/browser/component_updater/component_unpacker.cc:210: FROM_HERE, base::Bind(&DifferentialUpdatePatch, On 2014/01/28 21:06:31, waffles wrote: ...
6 years, 10 months ago (2014-01-31 00:32:15 UTC) #18
waffles
Thanks! https://codereview.chromium.org/25883006/diff/1446001/chrome/browser/component_updater/component_unpacker.cc File chrome/browser/component_updater/component_unpacker.cc (right): https://codereview.chromium.org/25883006/diff/1446001/chrome/browser/component_updater/component_unpacker.cc#newcode141 chrome/browser/component_updater/component_unpacker.cc:141: // EndPatching() will be called asynchronously. On 2014/01/31 ...
6 years, 10 months ago (2014-01-31 02:54:47 UTC) #19
Sorin Jianu
lgtm Thank you!
6 years, 10 months ago (2014-01-31 03:00:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/waffles@chromium.org/25883006/1466001
6 years, 10 months ago (2014-01-31 03:01:09 UTC) #21
commit-bot: I haz the power
Change committed as 248144
6 years, 10 months ago (2014-01-31 06:48:59 UTC) #22
commit-bot: I haz the power
6 years, 10 months ago (2014-01-31 06:49:02 UTC) #23
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698