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

Issue 2137303002: Allow ChildThreadImpl subclasses to manually start MojoShellConnection (Closed)

Created:
4 years, 5 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 5 months ago
Reviewers:
jam
CC:
chromium-reviews, 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

Allow ChildThreadImpl subclasses to manually start MojoShellConnection Subclasses may want to add ConnectionFilters before the connection is started. Since the connection is normally started in Init, and Init is called from the constructor, we can't use a virtual function to add filters, as is currently done. This adds an option to ChildThreadImpl::Options to allow a subclass to prevent automatic MojoShellConnection start and uses it in RenderthreadImpl. BUG=627253 R=jam@chromium.org

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -20 lines) Patch
M content/child/child_thread_impl.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M content/child/child_thread_impl.cc View 4 chunks +15 lines, -4 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 4 chunks +15 lines, -10 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Ken Rockot(use gerrit already)
4 years, 5 months ago (2016-07-11 22:20:31 UTC) #1
Ken Rockot(use gerrit already)
4 years, 5 months ago (2016-07-11 23:02:19 UTC) #2
Closing this because it depends on a patch that I just reverted. I'll roll the
fix into that patch before relanding since it introduced the bug.

Powered by Google App Engine
This is Rietveld 408576698