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

Issue 1452823003: Bind Application in renderer (Closed)

Created:
5 years, 1 month ago by Ben Goodger (Google)
Modified:
5 years, 1 month ago
Reviewers:
Tom Sepez, jam
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bind Application in renderer. This involved changing how we get the client handle to the renderer. In the first iteration I was passing this on the command line but that turns out not to work with the sandbox. So instead I an approach used by the Mojo-in-Chrome MojoApplication class and pass the primordial handle via Chrome IPC. I had to twiddle a bunch of BUILD.gn files in content to get this to work without crashing due to inconsistencies in how MOJO_SHELL_CLIENT was defined. R=jam@chromium.org,tsepez@chromium.org http://crbug.com/551253 Committed: https://crrev.com/3edb97198bc5fbc22c5cf13286e8af80449ddfb9 Cr-Commit-Position: refs/heads/master@{#360293} Committed: https://crrev.com/2c716f9d5ebff610641f4506c17ec81d4b89b7bb Cr-Commit-Position: refs/heads/master@{#360396} Committed: https://crrev.com/3f5f999e36c6b9935dcfad5893ca62e3aea606a6 Cr-Commit-Position: refs/heads/master@{#360550}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : . #

Patch Set 14 : . #

Patch Set 15 : . #

Patch Set 16 : . #

Patch Set 17 : . #

Patch Set 18 : . #

Patch Set 19 : . #

Patch Set 20 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -111 lines) Patch
M components/mus/example/window_type_launcher/main.cc View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +8 lines, -2 lines 0 comments Download
M content/browser/child_process_launcher.cc View 1 4 chunks +0 lines, -59 lines 0 comments Download
A content/browser/mojo/mojo_shell_client_host.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A content/browser/mojo/mojo_shell_client_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +72 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M content/child/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download
M content/child/child_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +5 lines, -0 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +22 lines, -0 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M content/common/mojo/mojo_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.h View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.cc View 1 2 3 4 5 6 7 1 chunk +11 lines, -4 lines 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M mojo/runner/child/runner_connection.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/runner/child/runner_connection.cc View 1 2 3 4 5 6 7 7 chunks +24 lines, -27 lines 0 comments Download
M mojo/runner/child/test_native_main.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 35 (13 generated)
Ben Goodger (Google)
tsepez: content/common/mojo/mojo_messages.h jam: *
5 years, 1 month ago (2015-11-17 22:27:24 UTC) #4
Tom Sepez
Messages LGTM (per our conversation).
5 years, 1 month ago (2015-11-17 22:30:54 UTC) #5
jam
lgtm with discussed changes
5 years, 1 month ago (2015-11-18 00:22:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1452823003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1452823003/220001
5 years, 1 month ago (2015-11-18 02:24:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1452823003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1452823003/260001
5 years, 1 month ago (2015-11-18 03:51:30 UTC) #12
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 1 month ago (2015-11-18 04:57:57 UTC) #13
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/3edb97198bc5fbc22c5cf13286e8af80449ddfb9 Cr-Commit-Position: refs/heads/master@{#360293}
5 years, 1 month ago (2015-11-18 04:58:42 UTC) #14
msramek
A revert of this CL (patchset #14 id:260001) has been created in https://codereview.chromium.org/1460713002/ by msramek@chromium.org. ...
5 years, 1 month ago (2015-11-18 14:55:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1452823003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1452823003/280001
5 years, 1 month ago (2015-11-18 18:18:54 UTC) #19
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 1 month ago (2015-11-18 19:56:22 UTC) #20
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/2c716f9d5ebff610641f4506c17ec81d4b89b7bb Cr-Commit-Position: refs/heads/master@{#360396}
5 years, 1 month ago (2015-11-18 19:58:00 UTC) #21
skobes
This change is making a bunch of layout tests crash with: [1:1:1118/141621:108326049405:FATAL:lock.cc(32)] Check failed: owning_thread_ref_.is_null(). ...
5 years, 1 month ago (2015-11-18 22:28:34 UTC) #22
alancutter (OOO until 2018)
Please modify third_party/WebKit/Tools/whitespace_file.txt in your next patch to force the trybots to run webkit_tests.
5 years, 1 month ago (2015-11-18 23:36:54 UTC) #23
Ben Goodger (Google)
How can I run these locally? Are they failing on Windows too? On Wed, Nov ...
5 years, 1 month ago (2015-11-18 23:45:46 UTC) #24
alancutter (OOO until 2018)
A revert of this CL (patchset #15 id:280001) has been created in https://codereview.chromium.org/1457173002/ by alancutter@chromium.org. ...
5 years, 1 month ago (2015-11-18 23:49:21 UTC) #25
alancutter (OOO until 2018)
On 2015/11/18 at 23:45:46, ben wrote: > How can I run these locally? Are they ...
5 years, 1 month ago (2015-11-18 23:51:37 UTC) #26
skobes
On 2015/11/18 23:51:37, alancutter wrote: > On 2015/11/18 at 23:45:46, ben wrote: > > How ...
5 years, 1 month ago (2015-11-18 23:52:40 UTC) #27
alancutter (OOO until 2018)
On 2015/11/18 at 23:45:46, ben wrote: > How can I run these locally? To repro ...
5 years, 1 month ago (2015-11-18 23:54:19 UTC) #28
Ben Goodger (Google)
On 2015/11/18 23:54:19, alancutter wrote: > On 2015/11/18 at 23:45:46, ben wrote: > > How ...
5 years, 1 month ago (2015-11-18 23:55:39 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1452823003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1452823003/380001
5 years, 1 month ago (2015-11-19 07:57:44 UTC) #33
commit-bot: I haz the power
Committed patchset #20 (id:380001)
5 years, 1 month ago (2015-11-19 10:38:38 UTC) #34
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 10:39:18 UTC) #35
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/3f5f999e36c6b9935dcfad5893ca62e3aea606a6
Cr-Commit-Position: refs/heads/master@{#360550}

Powered by Google App Engine
This is Rietveld 408576698