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

Issue 1681933005: Extracts InterfaceRegistry from ConnectionImpl. (Closed)

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

Description

Extracts InterfaceRegistry from ConnectionImpl. For most existing Mojo uses outside of Chrome, we have been relying on Connection::AddService<T>() as the means of exposing interfaces to other applications, because primarily we have been doing this via the InterfaceProviders exchanged @ Shell::ConnectToApplication. However there have been times in the past and are likely to be again in the future where we will want to pass an InterfaceProvider to another method, so having a canonical implementation of an InterfaceRegistry seems useful. I pulled all the relevant bits out of ConnectionImpl into this utility and then made ConnectionImpl wrap it. I suspect in time we could replace some of the custom InterfaceProvider impls currently in Content with this. R=rockot@chromium.org BUG= Committed: https://crrev.com/e83e09a1f670d57be60d75453dfa5be32f02d47d Cr-Commit-Position: refs/heads/master@{#375146}

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 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -225 lines) Patch
M mojo/mojo_base.gyp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M mojo/shell/public/cpp/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/shell/public/cpp/connection.h View 1 2 3 4 5 6 7 8 9 6 chunks +20 lines, -42 lines 0 comments Download
A mojo/shell/public/cpp/interface_registry.h View 1 2 3 1 chunk +109 lines, -0 lines 0 comments Download
M mojo/shell/public/cpp/lib/connection_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -36 lines 0 comments Download
M mojo/shell/public/cpp/lib/connection_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +17 lines, -63 lines 0 comments Download
A mojo/shell/public/cpp/lib/interface_registry.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +69 lines, -0 lines 0 comments Download
M mojo/shell/public/cpp/tests/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
D mojo/shell/public/cpp/tests/connection_impl_unittest.cc View 1 chunk +0 lines, -71 lines 0 comments Download
A + mojo/shell/public/cpp/tests/interface_registry_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 46 (26 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/80001
4 years, 10 months ago (2016-02-11 06:26:36 UTC) #4
commit-bot: I haz the power
Dry run: 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/178716)
4 years, 10 months ago (2016-02-11 06:41:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/100001
4 years, 10 months ago (2016-02-11 20:36:30 UTC) #8
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
4 years, 10 months ago (2016-02-11 20:36:31 UTC) #10
Ken Rockot(use gerrit already)
lgtm with one question and general comments: will it always be clear what the lifetime ...
4 years, 10 months ago (2016-02-11 20:51:50 UTC) #11
Ben Goodger (Google)
On 2016/02/11 20:51:50, Ken Rockot wrote: > lgtm with one question and general comments: will ...
4 years, 10 months ago (2016-02-11 21:37:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/100001
4 years, 10 months ago (2016-02-11 21:39:06 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/20970) android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, ...
4 years, 10 months ago (2016-02-11 21:44:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/120001
4 years, 10 months ago (2016-02-11 21:53:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/140001
4 years, 10 months ago (2016-02-11 21:54:59 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/20887) chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 10 months ago (2016-02-11 22:09:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/160001
4 years, 10 months ago (2016-02-11 23:43:37 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/142501)
4 years, 10 months ago (2016-02-12 00:17:53 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/180001
4 years, 10 months ago (2016-02-12 04:03:50 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/102705)
4 years, 10 months ago (2016-02-12 04:40:53 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/200001
4 years, 10 months ago (2016-02-12 05:10:40 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/180351)
4 years, 10 months ago (2016-02-12 06:21:26 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681933005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681933005/220001
4 years, 10 months ago (2016-02-12 06:39:57 UTC) #42
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 10 months ago (2016-02-12 08:26:53 UTC) #44
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:42:19 UTC) #46
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/e83e09a1f670d57be60d75453dfa5be32f02d47d
Cr-Commit-Position: refs/heads/master@{#375146}

Powered by Google App Engine
This is Rietveld 408576698