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

Issue 2610853013: Perform InterfaceProviderSpec intersection in the ServiceManager (Closed)

Created:
3 years, 11 months ago by Ben Goodger (Google)
Modified:
3 years, 11 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Perform InterfaceProviderSpec intersection in the ServiceManager. . Introduces a parallel flow in ServiceManager to Connect called BindInterface which carries (via ConnectParams) interface name and pipe. . Introduces an OnBindInterface() method to mojom::Service. In ServiceContext, this just calls through to OnConnect still since updating callsites is a pretty large task for a subsequent change. Note that policy checking is still happening in the client - there was no easy way to avoid this without adding an unsafe mode to InterfaceRegistry that skips the check that I'd be concerned might be misused. And IR should probably just die once this work is complete anyway. R=rockot@chromium.org,tsepez@chromium.org Review-Url: https://codereview.chromium.org/2610853013 Cr-Original-Commit-Position: refs/heads/master@{#443119} Committed: https://chromium.googlesource.com/chromium/src/+/e70e635ab325eede70d564b995130583bb3404ce Review-Url: https://codereview.chromium.org/2610853013 Cr-Commit-Position: refs/heads/master@{#444496} Committed: https://chromium.googlesource.com/chromium/src/+/5079d8944bb80c049f8ecab6128cb71b04c245a7

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : . #

Total comments: 1

Patch Set 13 : . #

Patch Set 14 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -132 lines) Patch
M services/service_manager/connect_params.h View 3 chunks +28 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/interface_registry.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/lib/interface_registry.cc View 1 2 3 4 5 6 7 8 3 chunks +23 lines, -26 lines 0 comments Download
M services/service_manager/public/cpp/lib/service_context.cc View 1 2 3 4 5 2 chunks +35 lines, -6 lines 0 comments Download
M services/service_manager/public/cpp/service_context.h View 1 2 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M services/service_manager/public/interfaces/service.mojom View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
M services/service_manager/service_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +174 lines, -100 lines 0 comments Download

Messages

Total messages: 51 (36 generated)
Ben Goodger (Google)
3 years, 11 months ago (2017-01-09 22:06:34 UTC) #12
Ben Goodger (Google)
poke On Mon, Jan 9, 2017 at 2:06 PM, <ben@chromium.org> wrote: > Reviewers: Ken Rockot, ...
3 years, 11 months ago (2017-01-10 20:20:35 UTC) #21
Ken Rockot(use gerrit already)
lgtm. It's pretty confusing that ConnectParams is used for StartService and BindInterface. Not necessary here ...
3 years, 11 months ago (2017-01-10 21:12:30 UTC) #22
Tom Sepez
lgtm
3 years, 11 months ago (2017-01-10 21:30:45 UTC) #23
Ben Goodger (Google)
On 2017/01/10 21:12:30, Ken Rockot wrote: > lgtm. It's pretty confusing that ConnectParams is used ...
3 years, 11 months ago (2017-01-11 00:31:09 UTC) #24
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/2610853013/160001
3 years, 11 months ago (2017-01-11 00:32:30 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/300468)
3 years, 11 months ago (2017-01-11 01:28:45 UTC) #28
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/2610853013/220001
3 years, 11 months ago (2017-01-12 00:17:19 UTC) #35
commit-bot: I haz the power
Committed patchset #12 (id:220001) as https://chromium.googlesource.com/chromium/src/+/e70e635ab325eede70d564b995130583bb3404ce
3 years, 11 months ago (2017-01-12 02:30:06 UTC) #38
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2610853013/diff/220001/services/service_manager/service_manager.cc File services/service_manager/service_manager.cc (right): https://codereview.chromium.org/2610853013/diff/220001/services/service_manager/service_manager.cc#newcode168 services/service_manager/service_manager.cc:168: if (!service_.is_bound()) We need to run the response callback ...
3 years, 11 months ago (2017-01-12 23:05:00 UTC) #39
James Cook
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/2634493002/ by jamescook@chromium.org. ...
3 years, 11 months ago (2017-01-13 02:22:48 UTC) #40
Ben Goodger (Google)
On 2017/01/12 23:05:00, Ken Rockot wrote: > https://codereview.chromium.org/2610853013/diff/220001/services/service_manager/service_manager.cc > File services/service_manager/service_manager.cc (right): > > https://codereview.chromium.org/2610853013/diff/220001/services/service_manager/service_manager.cc#newcode168 ...
3 years, 11 months ago (2017-01-13 17:59:35 UTC) #41
Ben Goodger (Google)
On 2017/01/13 17:59:35, Ben Goodger (Google) wrote: > On 2017/01/12 23:05:00, Ken Rockot wrote: > ...
3 years, 11 months ago (2017-01-13 18:00:09 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/2610853013/260001
3 years, 11 months ago (2017-01-18 20:48:42 UTC) #48
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 21:49:33 UTC) #51
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/5079d8944bb80c049f8ecab6128c...

Powered by Google App Engine
This is Rietveld 408576698