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

Issue 1856313002: mojo: Add ExistingThreadLoader. (Closed)

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

Description

mojo: Add ExistingThreadLoader. BUG= TEST=

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -0 lines) Patch
A content/common/mojo/existing_thread_loader.h View 1 chunk +61 lines, -0 lines 0 comments Download
A content/common/mojo/existing_thread_loader.cc View 1 chunk +41 lines, -0 lines 1 comment Download
M content/content_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
xhwang
This is a prototype CL for discussion. After having done this I feel we should ...
4 years, 8 months ago (2016-04-05 07:10:31 UTC) #2
alokp
Looks pretty good. I do agree that StaticLoader and CurrentThreadLoader can be merged with this ...
4 years, 8 months ago (2016-04-05 15:33:56 UTC) #3
Ken Rockot(use gerrit already)
On 2016/04/05 at 15:33:56, alokp wrote: > Looks pretty good. I do agree that StaticLoader ...
4 years, 8 months ago (2016-04-06 14:41:56 UTC) #4
alokp
Ken recently added EmbeddedApplicationRunner to accept an existing task runner, which eliminates the need for ...
4 years, 8 months ago (2016-04-26 18:47:46 UTC) #5
Ken Rockot(use gerrit already)
On 2016/04/26 at 18:47:46, alokp wrote: > Ken recently added EmbeddedApplicationRunner to accept an existing ...
4 years, 8 months ago (2016-04-26 19:16:51 UTC) #6
alokp
4 years, 7 months ago (2016-04-27 16:44:02 UTC) #7
On 2016/04/26 19:16:51, Ken Rockot wrote:
> On 2016/04/26 at 18:47:46, alokp wrote:
> > Ken recently added EmbeddedApplicationRunner to accept an existing task
> runner, which eliminates the need for this patch:
> >
>
https://code.google.com/p/chromium/codesearch#chromium/src/content/common/moj...
> > 
> > However, it seems it is still not possible to specify the application task
> runner when registering a mojo app using
> ContentBrowserClient::RegisterInProcessMojoApplications.
> > 
> > Ken: Am I missing something?
> 
> I didn't plumb that option through to the ContentBrowserClient interface
because
> it wasn't needed for anything we have today. Seems reasonable to modify the
> interface accordingly if needed. Maybe StaticMojoApplicationMap could hold an
> EmbeddedApplicationRunner factory instead of a ShellClient factory, or (my
> preference) hold a TaskRunner in addition to its ShellClient factory.

OK. I will look into adding the task runner to StaticMojoApplicationMap. Thanks
for your response.

Powered by Google App Engine
This is Rietveld 408576698