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

Issue 1828733004: Load application manifests from resources (Closed)

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

Description

Load application manifests from resources - Renames content's builtin apps to content_browser and content_renderer - Supports loading manifests from resources instead of files - Derives chrome's manifests from content's without duplicating metadata - Avoids all filesystem lookups for existing apps in content today - Ensures all content embedders have a working shell connection with capabilities BUG=594419 Committed: https://crrev.com/00668f9780a1b1c6c1b1a1f2457418d0aecf9bb5 Cr-Commit-Position: refs/heads/master@{#385823}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : rebase #

Total comments: 6

Patch Set 4 : nits #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : fix gyp #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : point content resources to new catalog manifest location #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -104 lines) Patch
M chrome/app/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +24 lines, -0 lines 0 comments Download
A chrome/app/mojo/chrome_manifest.json View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A + chrome/app/mojo/chrome_renderer_manifest.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -18 lines 0 comments Download
D content/browser/mojo/chrome_manifest.json View 1 chunk +0 lines, -14 lines 0 comments Download
D content/browser/mojo/chrome_renderer_manifest.json View 1 chunk +0 lines, -5 lines 0 comments Download
A content/browser/mojo/constants.h View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
A content/browser/mojo/constants.cc View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M content/browser/mojo/mojo_child_connection.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +43 lines, -6 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -13 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M content/content_resources.gypi View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M content/public/app/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download
A + content/public/app/mojo/content_browser_manifest.json View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
A content/public/app/mojo/content_renderer_manifest.json View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/mojo_shell.gyp View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M mojo/public/mojo_application_manifest.gni View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -0 lines 0 comments Download
M mojo/public/mojo_application_manifest.gypi View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M mojo/public/tools/manifest/manifest_collator.py View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download
M mojo/services/catalog/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/catalog/catalog.h View 1 2 3 4 5 6 4 chunks +9 lines, -3 lines 0 comments Download
M mojo/services/catalog/catalog.cc View 1 2 3 4 5 6 7 8 9 6 chunks +55 lines, -22 lines 0 comments Download
M mojo/services/catalog/factory.h View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
M mojo/services/catalog/factory.cc View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
A mojo/services/catalog/manifest_provider.h View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
M mojo/shell/shell.cc View 1 2 3 4 2 chunks +10 lines, -10 lines 0 comments Download
M mojo/shell/standalone/context.cc View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/shell/tests/loader_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
Ken Rockot(use gerrit already)
I want to kill Loader, and the first step is turning the browser into a ...
4 years, 9 months ago (2016-03-24 16:28:57 UTC) #2
Ken Rockot(use gerrit already)
Hmm... I see catalog has changed again already so I probably need to fix this.
4 years, 9 months ago (2016-03-24 16:30:11 UTC) #3
Ken Rockot(use gerrit already)
On 2016/03/24 at 16:30:11, Ken Rockot wrote: > Hmm... I see catalog has changed again ...
4 years, 9 months ago (2016-03-24 16:46:52 UTC) #4
jam
my one question is how does this change affect non-chrome embedders of content? i.e. as ...
4 years, 9 months ago (2016-03-24 17:09:10 UTC) #5
Ken Rockot(use gerrit already)
I can think of two potential solutions for the layering issue. Either one would probably ...
4 years, 9 months ago (2016-03-24 17:33:24 UTC) #6
Ben Goodger (Google)
https://codereview.chromium.org/1828733004/diff/20001/content/browser/mojo/mojo_child_connection.cc File content/browser/mojo/mojo_child_connection.cc (right): https://codereview.chromium.org/1828733004/diff/20001/content/browser/mojo/mojo_child_connection.cc#newcode108 content/browser/mojo/mojo_child_connection.cc:108: GetContentClient()->browser()->GetMojoApplicationNameForProcess( instead of doing this, I think we should ...
4 years, 9 months ago (2016-03-24 22:53:54 UTC) #7
Ken Rockot(use gerrit already)
On 2016/03/24 at 22:53:54, ben wrote: > https://codereview.chromium.org/1828733004/diff/20001/content/browser/mojo/mojo_child_connection.cc > File content/browser/mojo/mojo_child_connection.cc (right): > > https://codereview.chromium.org/1828733004/diff/20001/content/browser/mojo/mojo_child_connection.cc#newcode108 ...
4 years, 9 months ago (2016-03-24 22:57:25 UTC) #8
Ken Rockot(use gerrit already)
Updated the CL to reflect the proposal in the doc where chrome derives its manifests ...
4 years, 8 months ago (2016-03-30 02:52:13 UTC) #10
Ben Goodger (Google)
Looking good... just a couple of questions https://codereview.chromium.org/1828733004/diff/80001/content/browser/mojo/mojo_child_connection.cc File content/browser/mojo/mojo_child_connection.cc (right): https://codereview.chromium.org/1828733004/diff/80001/content/browser/mojo/mojo_child_connection.cc#newcode109 content/browser/mojo/mojo_child_connection.cc:109: return pipe_token; ...
4 years, 8 months ago (2016-03-30 22:27:50 UTC) #11
Ken Rockot(use gerrit already)
https://codereview.chromium.org/1828733004/diff/80001/content/browser/mojo/mojo_child_connection.cc File content/browser/mojo/mojo_child_connection.cc (right): https://codereview.chromium.org/1828733004/diff/80001/content/browser/mojo/mojo_child_connection.cc#newcode109 content/browser/mojo/mojo_child_connection.cc:109: return pipe_token; On 2016/03/30 at 22:27:50, Ben Goodger (Google) ...
4 years, 8 months ago (2016-03-31 18:55:49 UTC) #12
Ben Goodger (Google)
lgtm
4 years, 8 months ago (2016-03-31 19:06:23 UTC) #13
jam
lgtm
4 years, 8 months ago (2016-04-06 22:41:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828733004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828733004/240001
4 years, 8 months ago (2016-04-07 01:39:36 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/207049)
4 years, 8 months ago (2016-04-07 03:00:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828733004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828733004/240001
4 years, 8 months ago (2016-04-07 05:38:48 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/142164)
4 years, 8 months ago (2016-04-07 08:47:07 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828733004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828733004/280001
4 years, 8 months ago (2016-04-07 17:44:35 UTC) #27
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 8 months ago (2016-04-07 18:56:42 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 18:58:08 UTC) #30
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/00668f9780a1b1c6c1b1a1f2457418d0aecf9bb5
Cr-Commit-Position: refs/heads/master@{#385823}

Powered by Google App Engine
This is Rietveld 408576698