Chromium Code Reviews

Issue 25909005: Use UtilityProcessHost to patch files. (Closed)

Created:
7 years, 2 months ago by waffles
Modified:
6 years, 9 months ago
Reviewers:
dgarrett-goog, Sorin Jianu, dgarrett, sky, Cris Neckar
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, cpu_(ooo_6.6-7.5), Lei Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@nonblocking
Visibility:
Public.

Description

Use UtilityProcessHost to patch files. Second part of a 2-part changelist. The first part is https://codereview.chromium.org/25883006/ BUG=304879 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259726 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260243

Patch Set 1 #

Patch Set 2 : Merge upstream changes, some cleanup. #

Patch Set 3 : More Updates & Refactors #

Patch Set 4 : Merge upstream changes #

Patch Set 5 : Merge upstream changes. #

Patch Set 6 : Rebase to LKGR r244448 #

Patch Set 7 : Merge upstream changes #

Patch Set 8 : Merge Leaks #

Patch Set 9 : Rebase to LKGR/247686 #

Total comments: 1

Patch Set 10 : Rebase to LKGR/248226 #

Total comments: 60

Patch Set 11 : sorin@ review #

Patch Set 12 : Rebase to 253436 #

Total comments: 19

Patch Set 13 : sorin@ review + rebase to LKGR r253860 #

Total comments: 2

Patch Set 14 : sorin@ review and rebase to LKGR r254060 #

Total comments: 2

Patch Set 15 : sky@ review #

Patch Set 16 : ASAN fix. #

Patch Set 17 : ASAN Fix and rebase to LKGR/254895 #

Patch Set 18 : Inheritance fix & rebase to LKGR r/257437 #

Patch Set 19 : DEPS fix & rebase to LKGR r/258266 #

Patch Set 20 : Rebase to LKGR r/259551 for submit #

Patch Set 21 : Fix ASAN failure, rebase to LKGR/259825 #

Unified diffs Side-by-side diffs Stats (+680 lines, -535 lines)
M chrome/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments
M chrome/browser/component_updater/DEPS View 1 chunk +1 line, -0 lines 0 comments
M chrome/browser/component_updater/component_patcher.h View 2 chunks +50 lines, -42 lines 0 comments
M chrome/browser/component_updater/component_patcher.cc View 2 chunks +72 lines, -43 lines 0 comments
M chrome/browser/component_updater/component_patcher_operation.h View 4 chunks +101 lines, -50 lines 0 comments
M chrome/browser/component_updater/component_patcher_operation.cc View 7 chunks +238 lines, -76 lines 0 comments
D chrome/browser/component_updater/component_patcher_win.h View 1 chunk +0 lines, -28 lines 0 comments
D chrome/browser/component_updater/component_patcher_win.cc View 1 chunk +0 lines, -118 lines 0 comments
M chrome/browser/component_updater/component_unpacker.h View 4 chunks +13 lines, -13 lines 0 comments
M chrome/browser/component_updater/component_unpacker.cc View 5 chunks +19 lines, -21 lines 0 comments
M chrome/browser/component_updater/component_updater_configurator.cc View 5 chunks +4 lines, -16 lines 0 comments
M chrome/browser/component_updater/component_updater_service.h View 2 chunks +0 lines, -4 lines 0 comments
M chrome/browser/component_updater/component_updater_service.cc View 5 chunks +9 lines, -11 lines 0 comments
M chrome/browser/component_updater/test/DEPS View 1 chunk +0 lines, -1 line 0 comments
D chrome/browser/component_updater/test/component_patcher_mock.h View 1 chunk +0 lines, -32 lines 0 comments
M chrome/browser/component_updater/test/component_patcher_unittest.h View 2 chunks +5 lines, -1 line 0 comments
M chrome/browser/component_updater/test/component_patcher_unittest.cc View 6 chunks +91 lines, -69 lines 0 comments
M chrome/browser/component_updater/test/component_updater_service_unittest.h View 2 chunks +0 lines, -2 lines 0 comments
M chrome/browser/component_updater/test/component_updater_service_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments
M chrome/chrome_browser.gypi View 2 chunks +1 line, -2 lines 0 comments
M chrome/chrome_tests_unit.gypi View 1 chunk +0 lines, -1 line 0 comments
M chrome/common/chrome_utility_messages.h View 3 chunks +24 lines, -1 line 0 comments
M chrome/utility/DEPS View 1 chunk +1 line, -0 lines 0 comments
M chrome/utility/chrome_content_utility_client.h View 1 chunk +6 lines, -0 lines 0 comments
M chrome/utility/chrome_content_utility_client.cc View 3 chunks +43 lines, -0 lines 0 comments
M content/content_utility.gypi View 1 chunk +1 line, -0 lines 0 comments

Messages

Total messages: 28 (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:58:27 UTC) #1
waffles
+Carlos
7 years, 2 months ago (2013-10-24 00:11:17 UTC) #2
waffles
Hi Sorin, Carlos; please take another look at this second part of the two-part CL ...
7 years, 1 month ago (2013-11-12 18:07:45 UTC) #3
Sorin Jianu
Thank you Josh! https://codereview.chromium.org/25909005/diff/186001/chrome/browser/component_updater/component_patcher.h File chrome/browser/component_updater/component_patcher.h (right): https://codereview.chromium.org/25909005/diff/186001/chrome/browser/component_updater/component_patcher.h#newcode84 chrome/browser/component_updater/component_patcher.h:84: base::Callback<void(ComponentUnpacker::Error, int)> callback_; A typedef would ...
6 years, 10 months ago (2014-02-03 20:57:56 UTC) #4
waffles
Thanks! I've tried to restructure and cleanup the callback inconsistencies. Everything is now ref-counted, as ...
6 years, 10 months ago (2014-02-07 01:00:57 UTC) #5
Sorin Jianu
Thank you Josh, I don't feel strong about any of the issues below, if any ...
6 years, 9 months ago (2014-02-27 20:53:57 UTC) #6
waffles
Thanks! Please take another look. Once you're satisfied, I'll ad dgarrett@ and thestig@ as reviewers. ...
6 years, 9 months ago (2014-02-28 00:52:42 UTC) #7
Sorin Jianu
lgtm Thank you! https://codereview.chromium.org/25909005/diff/536001/chrome/browser/component_updater/component_patcher.cc File chrome/browser/component_updater/component_patcher.cc (right): https://codereview.chromium.org/25909005/diff/536001/chrome/browser/component_updater/component_patcher.cc#newcode104 chrome/browser/component_updater/component_patcher.cc:104: if (error != ComponentUnpacker::kNone) { On ...
6 years, 9 months ago (2014-02-28 01:53:53 UTC) #8
waffles
dgarrett, thestig: You are needed for OWNERS approvals. dgarrett@: please approve or challenge linking courgette ...
6 years, 9 months ago (2014-02-28 17:14:08 UTC) #9
waffles
(actually adding dgarrett@, thestig@ this time) dgarrett@, thestig@: You are needed for OWNERS approvals. dgarrett@: ...
6 years, 9 months ago (2014-02-28 17:16:40 UTC) #10
waffles
+sky@ since thestig is marked as OOO.
6 years, 9 months ago (2014-02-28 17:18:46 UTC) #11
sky
LGTM - you're going to need a security reviewer for the message change https://codereview.chromium.org/25909005/diff/566001/chrome/browser/DEPS File ...
6 years, 9 months ago (2014-02-28 17:59:03 UTC) #12
waffles
https://codereview.chromium.org/25909005/diff/566001/chrome/browser/DEPS File chrome/browser/DEPS (right): https://codereview.chromium.org/25909005/diff/566001/chrome/browser/DEPS#newcode38 chrome/browser/DEPS:38: "+courgette", On 2014/02/28 17:59:04, sky wrote: > nit: sort. ...
6 years, 9 months ago (2014-03-01 00:19:30 UTC) #13
waffles
+cdn@ for IPC message security review. thestig, dgarrett: ping. :)
6 years, 9 months ago (2014-03-20 18:18:10 UTC) #14
Lei Zhang
On 2014/03/20 18:18:10, waffles wrote: > +cdn@ for IPC message security review. > > thestig, ...
6 years, 9 months ago (2014-03-20 18:50:00 UTC) #15
waffles
On 2014/03/20 18:50:00, Lei Zhang wrote: > On 2014/03/20 18:18:10, waffles wrote: > > +cdn@ ...
6 years, 9 months ago (2014-03-20 18:53:38 UTC) #16
dgarrett-goog
LGTM the Courgette usage. But this CL is the first time I've looked at Chrome's ...
6 years, 9 months ago (2014-03-20 19:05:45 UTC) #17
Cris Neckar
IPC changes LGTM
6 years, 9 months ago (2014-03-24 18:04:34 UTC) #18
waffles
On 2014/03/20 19:05:45, dgarrett-goog wrote: > LGTM the Courgette usage. > > But this CL ...
6 years, 9 months ago (2014-03-24 18:07:38 UTC) #19
dgarrett
On 2014/03/24 18:07:38, waffles wrote: > On 2014/03/20 19:05:45, dgarrett-goog wrote: > > LGTM the ...
6 years, 9 months ago (2014-03-24 18:21:54 UTC) #20
dgarrett
On 2014/03/24 18:21:54, dgarrett wrote: > On 2014/03/24 18:07:38, waffles wrote: > > On 2014/03/20 ...
6 years, 9 months ago (2014-03-26 00:51:18 UTC) #21
waffles
The CQ bit was checked by waffles@chromium.org
6 years, 9 months ago (2014-03-26 19:33:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/waffles@chromium.org/25909005/696001
6 years, 9 months ago (2014-03-26 19:35:35 UTC) #23
commit-bot: I haz the power
Change committed as 259726
6 years, 9 months ago (2014-03-26 22:35:23 UTC) #24
erikchen
A revert of this CL has been created in https://codereview.chromium.org/213923002/ by erikchen@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-26 23:43:06 UTC) #25
waffles
The CQ bit was checked by waffles@chromium.org
6 years, 9 months ago (2014-03-28 17:11:17 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/waffles@chromium.org/25909005/716001
6 years, 9 months ago (2014-03-28 17:12:17 UTC) #27
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 19:42:02 UTC) #28
Message was sent while issue was closed.
Change committed as 260243

Powered by Google App Engine