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

Issue 2599393002: Revert of Convert utility process out-of-process file patching to mojo (Closed)

Created:
3 years, 12 months ago by Will Harris
Modified:
3 years, 12 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Convert utility process out-of-process file patching to mojo (patchset #15 id:420001 of https://codereview.chromium.org/2566053002/ ) Reason for revert: broke component updater - see crbug.com/676960 Original issue's description: > Convert utility process out-of-process file patching to mojo > > Define interface chrome::mojom::FilePatcher for out-of-process file > patching. Add that interface to the utility process, and expose the > interface to the browser process by mojo policy [1]. > > ChromeOutOfProcessPatcher: remove PatchHost() helper class, replace > it with a content::UtilityProcessMojoClient() and use that to start > and stop the utility process needed for out-of-process file patches > and to perform out-of-process file patches using mojo calls, rather > than IPC::Send(). > > Add a in-process browser test for the ChromeOutOfProcessPatcher (it > had no tests http://bit.ly/2h8mafX it seems). Copy the golden files > to random locations (input_file, patch_file) and patch them: checks > the patched output_file matches the golden output file. > > Delete all the IPC related to out-of-process file patching since we > no longer use them, we use chrome::mojom::FilePatcher instead. > > [1] chrome_content_utility_manifest_overlay.json > > TBR=waffles@chromium.org > BUG=597124, 660325 > > Committed: https://crrev.com/32afc44b332255130c247e3bfc4a27261d11ddfb > Cr-Commit-Position: refs/heads/master@{#440601} TBR=jochen@chromium.org,dcheng@chromium.org,sammc@chromium.org,tibell@chromium.org,waffles@chromium.org,sorin@chromium.org,noel@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=597124, 660325, 676960 Committed: https://crrev.com/53919401199f8cc8c0e5042dd9c0fc9716825a1c Cr-Commit-Position: refs/heads/master@{#440686}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -270 lines) Patch
M chrome/browser/chrome_content_utility_manifest_overlay.json View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/component_updater/component_patcher_operation_out_of_process.h View 3 chunks +5 lines, -13 lines 0 comments Download
M chrome/browser/component_updater/component_patcher_operation_out_of_process.cc View 2 chunks +103 lines, -43 lines 0 comments Download
D chrome/browser/component_updater/component_patcher_operation_out_of_process_browsertest.cc View 1 chunk +0 lines, -143 lines 0 comments Download
M chrome/common/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_utility_messages.h View 2 chunks +19 lines, -0 lines 0 comments Download
D chrome/common/file_patcher.mojom View 1 chunk +0 lines, -28 lines 0 comments Download
M chrome/test/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 6 chunks +28 lines, -38 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Will Harris
Created Revert of Convert utility process out-of-process file patching to mojo
3 years, 12 months ago (2016-12-25 20:25:08 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2599393002/1
3 years, 12 months ago (2016-12-25 20:25:11 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 12 months ago (2016-12-25 21:31:04 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/53919401199f8cc8c0e5042dd9c0fc9716825a1c Cr-Commit-Position: refs/heads/master@{#440686}
3 years, 12 months ago (2016-12-25 21:33:46 UTC) #9
dcheng
lgtm
3 years, 12 months ago (2016-12-26 22:19:16 UTC) #10
waffles
3 years, 12 months ago (2016-12-27 14:32:00 UTC) #11
Message was sent while issue was closed.
lgtm

thanks so much for taking care of this, Will

Powered by Google App Engine
This is Rietveld 408576698