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

Issue 1801963002: Change primordial pipes to ShellClient (Closed)

Created:
4 years, 9 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, kalyank, qsr+mojo_chromium.org, rjkroege, sadrul, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change primordial pipes to ShellClient Changes shell client startup pipes to be ShellClient instead of ShellClientFactory. This simplifies a lot of startup code. Due to this change, apps must now take responsibility for shutting themselves down when they feel it's appropriate. For now, all relevant apps are force-exited to mimic the old behavior. Once apptests are deleted, we should expose a clean quit closure to apps so they have something to run when they want to quit. Hard-exiting the process is definitely not the right thing to do. BUG= Committed: https://crrev.com/d5669c5cce5e182f29a4387807cda0c74e8265eb Cr-Commit-Position: refs/heads/master@{#381114}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : rebase onto catalog CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -679 lines) Patch
M chrome/browser/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/filesystem/file_system_app.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/filesystem/file_system_app.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/font_service/font_service_app.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/font_service/font_service_app.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/leveldb/leveldb_app.h View 1 chunk +1 line, -3 lines 0 comments Download
M components/leveldb/leveldb_app.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/mus/mus_app.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/mus/mus_app.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/resource_provider/resource_provider_app.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/resource_provider/resource_provider_app.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/mojo/mojo_child_connection.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M content/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.h View 2 chunks +0 lines, -7 lines 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.cc View 2 chunks +3 lines, -10 lines 0 comments Download
M content/content_common.gypi View 1 chunk +1 line, -1 line 0 comments Download
M mash/example/window_type_launcher/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M mash/example/window_type_launcher/main.cc View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M mash/wm/window_manager_application.h View 1 chunk +1 line, -0 lines 0 comments Download
M mash/wm/window_manager_application.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/mojo_shell.gyp View 1 2 3 4 5 1 chunk +10 lines, -17 lines 0 comments Download
M mojo/shell/native_runner.h View 2 chunks +3 lines, -4 lines 0 comments Download
M mojo/shell/public/cpp/application_runner.h View 2 chunks +5 lines, -1 line 0 comments Download
M mojo/shell/public/cpp/connector.h View 2 chunks +6 lines, -6 lines 0 comments Download
M mojo/shell/public/cpp/lib/application_runner.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/shell/public/cpp/lib/application_test_base.cc View 1 chunk +3 lines, -1 line 0 comments Download
M mojo/shell/public/cpp/lib/connector_impl.cc View 1 chunk +8 lines, -10 lines 0 comments Download
M mojo/shell/public/cpp/lib/shell_connection.cc View 2 chunks +2 lines, -10 lines 0 comments Download
M mojo/shell/public/cpp/names.h View 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/shell/public/cpp/shell_connection.h View 2 chunks +4 lines, -13 lines 0 comments Download
M mojo/shell/public/interfaces/connector.mojom View 2 chunks +5 lines, -5 lines 0 comments Download
M mojo/shell/runner/child/BUILD.gn View 3 chunks +1 line, -20 lines 0 comments Download
D mojo/shell/runner/child/runner_connection.h View 1 chunk +0 lines, -55 lines 0 comments Download
D mojo/shell/runner/child/runner_connection.cc View 1 chunk +0 lines, -86 lines 0 comments Download
M mojo/shell/runner/child/test_native_main.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M mojo/shell/runner/common/BUILD.gn View 1 chunk +13 lines, -0 lines 0 comments Download
A mojo/shell/runner/common/client_util.h View 1 chunk +32 lines, -0 lines 0 comments Download
A mojo/shell/runner/common/client_util.cc View 1 chunk +38 lines, -0 lines 0 comments Download
M mojo/shell/runner/host/child_process_base.h View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/runner/host/child_process_base.cc View 2 chunks +15 lines, -219 lines 0 comments Download
M mojo/shell/runner/host/child_process_host.h View 4 chunks +9 lines, -14 lines 0 comments Download
M mojo/shell/runner/host/child_process_host.cc View 4 chunks +53 lines, -64 lines 0 comments Download
M mojo/shell/runner/host/child_process_host_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/runner/host/in_process_native_runner.h View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/shell/runner/host/in_process_native_runner.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M mojo/shell/runner/host/out_of_process_native_runner.h View 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/shell/runner/host/out_of_process_native_runner.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M mojo/shell/shell.h View 1 2 3 4 5 3 chunks +10 lines, -11 lines 0 comments Download
M mojo/shell/shell.cc View 1 2 3 4 5 13 chunks +68 lines, -70 lines 0 comments Download
M mojo/shell/tests/connect/connect_test_driver.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/shell/tests/shell/driver.cc View 2 chunks +4 lines, -14 lines 0 comments Download
M mojo/shell/tests/util.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 9 (4 generated)
Ken Rockot(use gerrit already)
The main annoyance here is that everyone (tests mostly) was depending on ChildProcess behavior to ...
4 years, 9 months ago (2016-03-14 19:30:07 UTC) #2
Ben Goodger (Google)
Uh-mazing. lgtm
4 years, 9 months ago (2016-03-14 21:09:58 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801963002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801963002/100001
4 years, 9 months ago (2016-03-14 23:05:22 UTC) #6
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-14 23:38:37 UTC) #7
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 23:40:50 UTC) #9
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d5669c5cce5e182f29a4387807cda0c74e8265eb
Cr-Commit-Position: refs/heads/master@{#381114}

Powered by Google App Engine
This is Rietveld 408576698