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

Issue 1776513003: Allow client process information to be passed via Connector::Connect(). (Closed)

Created:
4 years, 9 months ago by Ben Goodger (Google)
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, 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

Allow client process information to be passed via Connector::Connect(). This allows applications to start processes themselves and have the shell use them instead of starting its own. Allows us to eliminate Shell::CreateInstance(). BUG= CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/40b6dc773e28490f14eaea639261c82154d948a0 Cr-Commit-Position: refs/heads/master@{#380030}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 3

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -448 lines) Patch
M content/browser/frame_host/frame_mojo_shell.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/frame_mojo_shell.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/mojo/mojo_child_connection.h View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A + content/browser/mojo/mojo_child_connection.cc View 1 2 3 4 4 chunks +36 lines, -37 lines 0 comments Download
M content/browser/mojo/mojo_shell_client_host.h View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
M content/browser/mojo/mojo_shell_client_host.cc View 1 2 1 chunk +0 lines, -138 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mus.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/web_ui_mojo_shell_test.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M mojo/mojo_base.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/package_manager/package_manager.h View 1 5 chunks +13 lines, -12 lines 0 comments Download
M mojo/services/package_manager/package_manager.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/services/package_manager/public/interfaces/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
D mojo/services/package_manager/public/interfaces/shell_resolver.mojom View 1 1 chunk +0 lines, -39 lines 0 comments Download
M mojo/shell/connect_params.h View 2 chunks +9 lines, -0 lines 0 comments Download
M mojo/shell/public/cpp/connector.h View 2 chunks +16 lines, -0 lines 0 comments Download
M mojo/shell/public/cpp/lib/connector_impl.cc View 1 chunk +19 lines, -1 line 0 comments Download
M mojo/shell/public/interfaces/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/shell/public/interfaces/connector.mojom View 1 3 chunks +34 lines, -3 lines 0 comments Download
M mojo/shell/public/interfaces/shell.mojom View 1 1 chunk +0 lines, -32 lines 0 comments Download
A + mojo/shell/public/interfaces/shell_resolver.mojom View 1 2 chunks +15 lines, -3 lines 0 comments Download
M mojo/shell/shell.h View 1 2 3 4 chunks +6 lines, -2 lines 0 comments Download
M mojo/shell/shell.cc View 1 2 3 7 chunks +125 lines, -98 lines 0 comments Download
M mojo/shell/tests/lifecycle/lifecycle_unittest.cc View 3 chunks +8 lines, -15 lines 0 comments Download
M mojo/shell/tests/shell/driver.cc View 3 chunks +10 lines, -15 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (6 generated)
Ben Goodger (Google)
4 years, 9 months ago (2016-03-08 21:23:11 UTC) #3
sky
LGTM https://codereview.chromium.org/1776513003/diff/60001/content/browser/mojo/mojo_child_connection.cc File content/browser/mojo/mojo_child_connection.cc (right): https://codereview.chromium.org/1776513003/diff/60001/content/browser/mojo/mojo_child_connection.cc#newcode77 content/browser/mojo/mojo_child_connection.cc:77: host_ = nullptr; I'm surprised you don't delete ...
4 years, 9 months ago (2016-03-08 22:30:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1776513003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1776513003/80001
4 years, 9 months ago (2016-03-08 23:56:17 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-09 01:53:37 UTC) #8
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/40b6dc773e28490f14eaea639261c82154d948a0 Cr-Commit-Position: refs/heads/master@{#380030}
4 years, 9 months ago (2016-03-09 01:55:39 UTC) #10
Ken Rockot(use gerrit already)
Lots of Chrome OS browser_tests failures with shell connection error spam, starting when this CL ...
4 years, 9 months ago (2016-03-09 18:25:14 UTC) #12
Ben Goodger (Google)
4 years, 9 months ago (2016-03-09 20:26:13 UTC) #13
Message was sent while issue was closed.
I'll take a look this afternoon.

On Wed, Mar 9, 2016 at 10:25 AM, <rockot@chromium.org> wrote:

> Lots of Chrome OS browser_tests failures with shell connection error spam,
> starting when this CL landed:
>
>
>
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%...
>
> Any ideas?
>
> https://codereview.chromium.org/1776513003/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698