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

Issue 1128453004: Embed a simple Mojo shell in content (Closed)

Created:
5 years, 7 months ago by Ken Rockot(use gerrit already)
Modified:
5 years, 6 months ago
Reviewers:
xhwang
CC:
chromium-reviews, cbentzel+watch_chromium.org, 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, xhwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Embed a simple Mojo shell in content This CL adds an ApplicationManager to the browser and sets it up for static application loading in-process and out-of-process (via the utility process) in Chrome. This also adds a new proxy_resolver component which is a thin Mojo app wrapping the Mojo resolver impl in //net/proxy. Finally, this hooks up the proxy_resolver app to Chrome's Mojo shell for (flag-dependent) in-process or out-of-process operation.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1124 lines, -150 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 5 chunks +13 lines, -0 lines 1 comment Download
A + chrome/browser/net/mojo_app_proxy_resolver_factory.h View 3 chunks +18 lines, -16 lines 0 comments Download
A chrome/browser/net/mojo_app_proxy_resolver_factory.cc View 1 chunk +48 lines, -0 lines 0 comments Download
M chrome/browser/net/proxy_service_factory.cc View 2 chunks +6 lines, -11 lines 0 comments Download
D chrome/browser/net/utility_process_mojo_proxy_resolver_factory.h View 1 chunk +0 lines, -48 lines 0 comments Download
M chrome/chrome_browser.gypi View 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_utility.gypi View 2 chunks +8 lines, -0 lines 0 comments Download
A chrome/common/application_urls.h View 1 chunk +14 lines, -0 lines 0 comments Download
A + chrome/common/application_urls.cc View 1 chunk +4 lines, -6 lines 1 comment Download
M chrome/utility/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/utility/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.h View 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 5 chunks +12 lines, -16 lines 0 comments Download
A chrome/utility/chrome_content_utility_process_impl.h View 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/utility/chrome_content_utility_process_impl.cc View 1 chunk +75 lines, -0 lines 0 comments Download
M components/components.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A components/proxy_resolver.gypi View 1 chunk +24 lines, -0 lines 0 comments Download
A components/proxy_resolver/BUILD.gn View 1 chunk +39 lines, -0 lines 0 comments Download
A + components/proxy_resolver/DEPS View 1 chunk +3 lines, -2 lines 0 comments Download
A + components/proxy_resolver/main.cc View 1 chunk +3 lines, -4 lines 0 comments Download
A components/proxy_resolver/proxy_resolver_app.h View 1 chunk +37 lines, -0 lines 0 comments Download
A components/proxy_resolver/proxy_resolver_app.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M content/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 3 chunks +6 lines, -0 lines 0 comments Download
A content/browser/mojo_shell_context_impl.h View 1 chunk +55 lines, -0 lines 0 comments Download
A content/browser/mojo_shell_context_impl.cc View 1 chunk +114 lines, -0 lines 1 comment Download
M content/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/content_browser.gypi View 4 chunks +7 lines, -1 line 0 comments Download
M content/content_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_common_mojo_bindings.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A content/public/browser/mojo_app_connection.h View 1 chunk +56 lines, -0 lines 0 comments Download
A content/public/browser/mojo_app_connection.cc View 1 chunk +64 lines, -0 lines 0 comments Download
A content/public/browser/mojo_shell_context.h View 1 chunk +64 lines, -0 lines 0 comments Download
M content/public/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A + content/public/common/process.mojom View 1 chunk +10 lines, -4 lines 1 comment Download
M content/public/common/service_registry.h View 1 chunk +10 lines, -1 line 0 comments Download
A content/public/common/static_mojo_application_loader.h View 1 chunk +66 lines, -0 lines 0 comments Download
A content/public/common/static_mojo_application_loader.cc View 1 chunk +116 lines, -0 lines 0 comments Download
M mojo/mojo_base.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A mojo/mojo_services.gyp View 1 chunk +44 lines, -0 lines 0 comments Download
A mojo/mojo_shell.gyp View 1 chunk +80 lines, -0 lines 0 comments Download
M mojo/shell/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M net/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M net/net.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M net/proxy/proxy_service_mojo.h View 1 chunk +0 lines, -16 lines 0 comments Download
M net/proxy/proxy_service_mojo.cc View 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/mojo/mojom_bindings_generator_explicit.gypi View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (1 generated)
xhwang
https://codereview.chromium.org/1128453004/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/1128453004/diff/1/chrome/browser/chrome_content_browser_client.cc#newcode2461 chrome/browser/chrome_content_browser_client.cc:2461: switches::kV8PacMojoInProcess)) { For media, I am using a gyp/gn ...
5 years, 7 months ago (2015-05-13 04:36:20 UTC) #2
Ken Rockot(use gerrit already)
On 2015/05/13 04:36:20, xhwang wrote: > https://codereview.chromium.org/1128453004/diff/1/chrome/browser/chrome_content_browser_client.cc > File chrome/browser/chrome_content_browser_client.cc (right): > > https://codereview.chromium.org/1128453004/diff/1/chrome/browser/chrome_content_browser_client.cc#newcode2461 > ...
5 years, 7 months ago (2015-05-13 05:12:07 UTC) #3
xhwang
I like this CL because I can use the existing MojoMediaApplication directly: https://code.google.com/p/chromium/codesearch#chromium/src/media/mojo/services/mojo_media_application.cc&l=16 I do ...
5 years, 7 months ago (2015-05-13 05:19:20 UTC) #4
Ken Rockot(use gerrit already)
On 2015/05/13 05:12:07, Ken Rockot wrote: > On 2015/05/13 04:36:20, xhwang wrote: > > > ...
5 years, 7 months ago (2015-05-13 05:20:12 UTC) #5
Ken Rockot(use gerrit already)
Sorry, I missed these questions before. On 2015/05/13 05:19:20, xhwang wrote: > I like this ...
5 years, 7 months ago (2015-05-15 19:15:08 UTC) #6
xhwang
Is there any plan to move this work forward?
5 years, 7 months ago (2015-05-20 21:18:34 UTC) #7
Ken Rockot(use gerrit already)
Waiting on the next Mojo roll to get the main content patch in. Roll is ...
5 years, 7 months ago (2015-05-20 21:21:04 UTC) #8
xhwang
Thanks for the update! Glad to hear we are making progress! On Wed, May 20, ...
5 years, 7 months ago (2015-05-20 21:24:57 UTC) #9
Ken Rockot(use gerrit already)
5 years, 6 months ago (2015-05-27 21:23:55 UTC) #10
Message was sent while issue was closed.
Closing this CL.

https://codereview.chromium.org/1149833007/ replaces it and is currently up for
review.

Powered by Google App Engine
This is Rietveld 408576698