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

Issue 1460713002: Revert of Bind Application in renderer (Closed)

Created:
5 years, 1 month ago by msramek
Modified:
5 years, 1 month ago
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

Revert of Bind Application in renderer (patchset #14 id:260001 of https://codereview.chromium.org/1452823003/ ) Reason for revert: Speculatively reverting this, as this CL landed exactly at the time when renderer started crashing on linux_chromium_rel_ng. Original issue's 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} TBR=jam@chromium.org,tsepez@chromium.org,ben@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=557732 Committed: https://crrev.com/bf5ac583bf02c0b627f3a9c32798a74c1b83b68b Cr-Commit-Position: refs/heads/master@{#360331}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -250 lines) Patch
M components/mus/example/window_type_launcher/main.cc View 1 chunk +7 lines, -5 lines 0 comments Download
M content/app/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/BUILD.gn View 2 chunks +2 lines, -8 lines 0 comments Download
M content/browser/child_process_launcher.cc View 4 chunks +59 lines, -0 lines 0 comments Download
D content/browser/mojo/mojo_shell_client_host.h View 1 chunk +0 lines, -27 lines 0 comments Download
D content/browser/mojo/mojo_shell_client_host.cc View 1 chunk +0 lines, -72 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M content/child/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download
M content/child/child_thread_impl.h View 3 chunks +0 lines, -12 lines 0 comments Download
M content/child/child_thread_impl.cc View 3 chunks +0 lines, -23 lines 0 comments Download
M content/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M content/common/mojo/mojo_messages.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.h View 4 chunks +3 lines, -6 lines 0 comments Download
M content/common/mojo/mojo_shell_connection_impl.cc View 1 chunk +4 lines, -11 lines 0 comments Download
M content/gpu/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download
M content/plugin/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download
M content/ppapi_plugin/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download
M content/public/browser/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/BUILD.gn View 1 chunk +0 lines, -9 lines 0 comments Download
M content/public/renderer/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download
M content/renderer/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 2 chunks +1 line, -5 lines 0 comments Download
M content/utility/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download
M mojo/runner/child/runner_connection.h View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/runner/child/runner_connection.cc View 7 chunks +27 lines, -24 lines 0 comments Download
M mojo/runner/child/test_native_main.cc View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
msramek
Created Revert of Bind Application in renderer
5 years, 1 month ago (2015-11-18 14:55:55 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460713002/1
5 years, 1 month ago (2015-11-18 14:56:41 UTC) #4
Ben Goodger (Google)
do you have a link to build output.? -Ben On Wed, Nov 18, 2015 at ...
5 years, 1 month ago (2015-11-18 14:57:36 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 1 month ago (2015-11-18 14:57:53 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/bf5ac583bf02c0b627f3a9c32798a74c1b83b68b Cr-Commit-Position: refs/heads/master@{#360331}
5 years, 1 month ago (2015-11-18 14:58:43 UTC) #7
msramek
5 years, 1 month ago (2015-11-18 14:58:57 UTC) #8
Message was sent while issue was closed.
https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium...

See also the attached bug crbug.com/557732

On 2015/11/18 14:57:36, Ben Goodger (Google) wrote:
> do you have a link to build output.?
> 
> -Ben
> 
> On Wed, Nov 18, 2015 at 6:55 AM, <mailto:msramek@chromium.org> wrote:
> 
> > Reviewers: jam, Tom Sepez, Ben Goodger (Google)
> > CL: https://codereview.chromium.org/1460713002/
> >
> > Message:
> > Created Revert of Bind Application in renderer
> >
> > Description:
> > Revert of Bind Application in renderer (patchset #14 id:260001 of
> > https://codereview.chromium.org/1452823003/ )
> >
> > Reason for revert:
> > Speculatively reverting this, as this CL landed exactly at the time when
> > renderer started crashing on linux_chromium_rel_ng.
> >
> > Original issue's 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.
> >
> > mailto:R=jam@chromium.org,tsepez@chromium.org
> >> http://crbug.com/551253
> >>
> >
> > Committed: https://crrev.com/3edb97198bc5fbc22c5cf13286e8af80449ddfb9
> >> Cr-Commit-Position: refs/heads/master@{#360293}
> >>
> >
> > mailto:TBR=jam@chromium.org,tsepez@chromium.org,ben@chromium.org
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> >
> > Base URL: https://chromium.googlesource.com/chromium/src.git@master
> >
> > Affected files (+116, -250 lines):
> >   M components/mus/example/window_type_launcher/main.cc
> >   M content/app/BUILD.gn
> >   M content/browser/BUILD.gn
> >   M content/browser/child_process_launcher.cc
> >   D content/browser/mojo/mojo_shell_client_host.h
> >   D content/browser/mojo/mojo_shell_client_host.cc
> >   M content/browser/renderer_host/render_process_host_impl.cc
> >   M content/child/BUILD.gn
> >   M content/child/child_thread_impl.h
> >   M content/child/child_thread_impl.cc
> >   M content/common/BUILD.gn
> >   M content/common/mojo/mojo_messages.h
> >   M content/common/mojo/mojo_shell_connection_impl.h
> >   M content/common/mojo/mojo_shell_connection_impl.cc
> >   M content/gpu/BUILD.gn
> >   M content/plugin/BUILD.gn
> >   M content/ppapi_plugin/BUILD.gn
> >   M content/public/browser/BUILD.gn
> >   M content/public/common/BUILD.gn
> >   M content/public/renderer/BUILD.gn
> >   M content/renderer/BUILD.gn
> >   M content/test/BUILD.gn
> >   M content/utility/BUILD.gn
> >   M mojo/runner/child/runner_connection.h
> >   M mojo/runner/child/runner_connection.cc
> >   M mojo/runner/child/test_native_main.cc
> >
> >
> >
> 
> -- 
> 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 mailto:chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698