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

Issue 2576233002: Consolidating the mojo NativeRunner functionality. (Closed)

Created:
4 years ago by Jay Civelli
Modified:
4 years ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, kalyank, qsr+mojo_chromium.org, sadrul, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consolidating the functionality offered by NativeRunner by merging the NativeRunner, OutOfProcessNativeRunner and ChildProcessHost classes into the new ServiceProcessLauncher class. Also removed the equivalent of the |service_completed_callback| parameter from NativeRunner::Start since it was not hooked to anything anymore. BUG=674311 Committed: https://crrev.com/18dfd6cf979730171c02ed2e7ee26232fe178df7 Cr-Commit-Position: refs/heads/master@{#439256}

Patch Set 1 #

Patch Set 2 : Clean-up. #

Total comments: 2

Patch Set 3 : Fixed DEPS. #

Patch Set 4 : Synced #

Patch Set 5 : Merged mojo_runner_host_unittests in service_manager_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -910 lines) Patch
M chrome/app/mash/mash_runner.cc View 4 chunks +11 lines, -10 lines 0 comments Download
M chrome/test/base/mojo_test_connector.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/test/base/mojo_test_connector.cc View 4 chunks +15 lines, -12 lines 0 comments Download
M content/browser/service_manager/service_manager_context.cc View 3 chunks +12 lines, -11 lines 0 comments Download
M mojo/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M services/service_manager/BUILD.gn View 1 2 3 4 3 chunks +1 line, -3 lines 0 comments Download
M services/service_manager/background/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M services/service_manager/background/background_service_manager.h View 3 chunks +3 lines, -2 lines 0 comments Download
M services/service_manager/background/background_service_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D services/service_manager/native_runner.h View 1 chunk +0 lines, -47 lines 0 comments Download
D services/service_manager/native_runner_delegate.h View 1 chunk +0 lines, -29 lines 0 comments Download
M services/service_manager/runner/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M services/service_manager/runner/host/BUILD.gn View 1 2 3 4 3 chunks +5 lines, -18 lines 0 comments Download
D services/service_manager/runner/host/child_process_host.h View 1 chunk +0 lines, -98 lines 0 comments Download
D services/service_manager/runner/host/child_process_host.cc View 1 chunk +0 lines, -258 lines 0 comments Download
D services/service_manager/runner/host/child_process_host_unittest.cc View 1 2 3 1 chunk +0 lines, -124 lines 0 comments Download
D services/service_manager/runner/host/host_unittests.cc View 1 2 3 4 1 chunk +0 lines, -27 lines 0 comments Download
D services/service_manager/runner/host/out_of_process_native_runner.h View 1 chunk +0 lines, -75 lines 0 comments Download
D services/service_manager/runner/host/out_of_process_native_runner.cc View 1 chunk +0 lines, -76 lines 0 comments Download
A + services/service_manager/runner/host/service_process_launcher.h View 3 chunks +34 lines, -26 lines 0 comments Download
A + services/service_manager/runner/host/service_process_launcher.cc View 1 7 chunks +21 lines, -27 lines 0 comments Download
A + services/service_manager/runner/host/service_process_launcher_unittest.cc View 1 2 3 7 chunks +17 lines, -19 lines 0 comments Download
M services/service_manager/service_manager.h View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download
M services/service_manager/service_manager.cc View 1 2 3 5 chunks +7 lines, -19 lines 0 comments Download
M services/service_manager/standalone/context.h View 2 chunks +2 lines, -3 lines 0 comments Download
M services/service_manager/standalone/context.cc View 1 3 chunks +28 lines, -6 lines 0 comments Download
M services/service_manager/tests/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
Jay Civelli
4 years ago (2016-12-14 23:58:51 UTC) #5
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2576233002/diff/20001/services/service_manager/runner/host/BUILD.gn File services/service_manager/runner/host/BUILD.gn (right): https://codereview.chromium.org/2576233002/diff/20001/services/service_manager/runner/host/BUILD.gn#newcode47 services/service_manager/runner/host/BUILD.gn:47: test("mojo_service_process_launcher_unittests") { If you rename the test suite ...
4 years ago (2016-12-15 01:13:45 UTC) #9
Jay Civelli
https://codereview.chromium.org/2576233002/diff/20001/services/service_manager/runner/host/BUILD.gn File services/service_manager/runner/host/BUILD.gn (right): https://codereview.chromium.org/2576233002/diff/20001/services/service_manager/runner/host/BUILD.gn#newcode47 services/service_manager/runner/host/BUILD.gn:47: test("mojo_service_process_launcher_unittests") { On 2016/12/15 01:13:45, Ken Rockot wrote: > ...
4 years ago (2016-12-16 19:35:16 UTC) #16
Ken Rockot(use gerrit already)
On 2016/12/16 at 19:35:16, jcivelli wrote: > https://codereview.chromium.org/2576233002/diff/20001/services/service_manager/runner/host/BUILD.gn > File services/service_manager/runner/host/BUILD.gn (right): > > https://codereview.chromium.org/2576233002/diff/20001/services/service_manager/runner/host/BUILD.gn#newcode47 ...
4 years ago (2016-12-16 20:26:18 UTC) #19
Jay Civelli
Adding @sky for chrome/OWNERS review
4 years ago (2016-12-16 21:55:02 UTC) #21
sky
LGTM
4 years ago (2016-12-16 23:22:36 UTC) #22
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/2576233002/80001
4 years ago (2016-12-17 00:32:48 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-17 00:41:28 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-17 00:46:02 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/18dfd6cf979730171c02ed2e7ee26232fe178df7
Cr-Commit-Position: refs/heads/master@{#439256}

Powered by Google App Engine
This is Rietveld 408576698