DescriptionMake ServiceRegistry (which implements) ApplicationConnection just wrap a ServiceProviderImpl.
At this point, I could make ApplicationConnection not an interface, and
just rename ServiceRegistry to ApplicationConnection (basically). I
won't bother, because I plan on deleting
ApplicationConnection/ServiceRegistry ASAP.
I also added a ServiceProviderImpl getter to ApplicationConnection. My
plan of action is:
* Make everyone currently using ApplicationConnection just use stuff via
the getter. (In particular, this means converting all the current uses
of ApplicationConnection::AddService<I>()/InterfaceFactory<I>.)
* At that point, replacing ApplicationConnection with just
ServiceProviderImpl will be easy.
R=vardhan@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/721c34a0c8b9cde24940a2cbbb6173897b79ed6b
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 4 (1 generated)
|