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

Issue 2389133008: Mash: Replaces "exe:chrome" with "service:content_browser" (Closed)

Created:
4 years, 2 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 2 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), kalyank, qsr+mojo_chromium.org, sadrul, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mash: Replaces "exe:chrome" with "service:content_browser" No more references to exe:chrome, instead anyone wanting browser interfaces connects to service:content_browser, which is consistent with the rest of the universe. ServiceManager and Catalog have some control interfaces added to override path resolution for executables and manifests. MashRunner uses this to direct resolution of "exe:chrome_mash" and "service:content_browser" accordingly, as well as to resolve content process manifests to chrome's/mash's overlayed versions on disk. Also changes the service_manifest GN template to support overlays. This makes it easy to reuse the existing overlay metadata with standalone ServiceManager, as well as to layer multiple overlays (e.g. content_browser + chrome_content_browser + chrome_mash_content_browser). Adds a browser manifest overlay specifically for Mash, which is applied on top of Chrome's own overlay. BUG=646077 TEST=chrome --mash seems to "work", can set wallpaper, browse cat photos, run task_viewer, etc Committed: https://crrev.com/3216b12377127f215e8c57a4b835bc6564506119 Cr-Commit-Position: refs/heads/master@{#423803}

Patch Set 1 #

Total comments: 2

Patch Set 2 : exe:chrome_mash -> service:chrome_mash #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -153 lines) Patch
M ash/common/system/tray/system_tray_controller.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M ash/mus/app_list_presenter_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/keyboard_ui_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/wallpaper_delegate_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/app/BUILD.gn View 1 chunk +50 lines, -15 lines 0 comments Download
M chrome/app/mash/BUILD.gn View 1 4 chunks +15 lines, -3 lines 0 comments Download
M chrome/app/mash/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/app/mash/chrome_mash_content_browser_manifest_overlay.json View 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/app/mash/chrome_mash_manifest.json View 1 1 chunk +11 lines, -3 lines 0 comments Download
M chrome/app/mash/mash_runner.cc View 1 2 6 chunks +53 lines, -16 lines 0 comments Download
D chrome/app/mojo/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/app/mojo/chrome_manifest.json View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/app/mojo/chrome_renderer_manifest.json View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/chrome_content_renderer_manifest_overlay.json View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/mojo_test_connector.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M mash/app_driver/app_driver.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M mash/session/session.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/catalog/catalog.h View 4 chunks +16 lines, -1 line 0 comments Download
M services/catalog/catalog.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M services/catalog/manifest.json View 1 chunk +7 lines, -4 lines 0 comments Download
M services/catalog/public/interfaces/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M services/catalog/public/interfaces/catalog.mojom View 2 chunks +9 lines, -0 lines 0 comments Download
M services/catalog/reader.h View 3 chunks +7 lines, -0 lines 0 comments Download
M services/catalog/reader.cc View 2 chunks +25 lines, -5 lines 0 comments Download
M services/shell/manifest.json View 1 2 chunks +6 lines, -1 line 0 comments Download
M services/shell/public/service_manifest.gni View 1 6 chunks +24 lines, -17 lines 0 comments Download
M services/shell/public/tools/manifest/manifest_collator.py View 1 5 chunks +25 lines, -23 lines 0 comments Download
M services/shell/service_manager.cc View 1 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 47 (35 generated)
Ken Rockot(use gerrit already)
sky@ for mashy stuff, ben@ for services stuff
4 years, 2 months ago (2016-10-06 20:13:13 UTC) #10
Ben Goodger (Google)
lgtm but... https://codereview.chromium.org/2389133008/diff/40001/chrome/app/mash/mash_runner.cc File chrome/app/mash/mash_runner.cc (right): https://codereview.chromium.org/2389133008/diff/40001/chrome/app/mash/mash_runner.cc#newcode46 chrome/app/mash/mash_runner.cc:46: const char kChromeMashServiceName[] = "exe:chrome_mash"; Can we ...
4 years, 2 months ago (2016-10-06 21:46:26 UTC) #17
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2389133008/diff/40001/chrome/app/mash/mash_runner.cc File chrome/app/mash/mash_runner.cc (right): https://codereview.chromium.org/2389133008/diff/40001/chrome/app/mash/mash_runner.cc#newcode46 chrome/app/mash/mash_runner.cc:46: const char kChromeMashServiceName[] = "exe:chrome_mash"; On 2016/10/06 at 21:46:26, ...
4 years, 2 months ago (2016-10-06 22:37:08 UTC) #22
sky
LGTM
4 years, 2 months ago (2016-10-06 22:49:52 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/276088)
4 years, 2 months ago (2016-10-07 02:31:30 UTC) #35
Ken Rockot(use gerrit already)
dcheng@ for mojom - note that none of the changes here are relevant to production ...
4 years, 2 months ago (2016-10-07 02:34:10 UTC) #37
dcheng
mojo lgtm
4 years, 2 months ago (2016-10-07 03:33:03 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389133008/100001
4 years, 2 months ago (2016-10-07 03:36:26 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/156143)
4 years, 2 months ago (2016-10-07 05:04:25 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389133008/100001
4 years, 2 months ago (2016-10-07 05:24:38 UTC) #44
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 2 months ago (2016-10-07 06:02:48 UTC) #45
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 06:04:21 UTC) #47
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3216b12377127f215e8c57a4b835bc6564506119
Cr-Commit-Position: refs/heads/master@{#423803}

Powered by Google App Engine
This is Rietveld 408576698