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

Unified Diff: mojo/public/cpp/application/service_provider_impl.h

Issue 1977033002: Make ServiceRegistry (which implements) ApplicationConnection just wrap a ServiceProviderImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/application/service_provider_impl.h
diff --git a/mojo/public/cpp/application/service_provider_impl.h b/mojo/public/cpp/application/service_provider_impl.h
index 54adac77bf41cfbb9bb78102f517a1eb0cbefaa9..77a76445f408808823ee6abd7c7e9f6f17930c1f 100644
--- a/mojo/public/cpp/application/service_provider_impl.h
+++ b/mojo/public/cpp/application/service_provider_impl.h
@@ -35,7 +35,8 @@ class ServiceProviderImpl : public ServiceProvider {
ServiceProviderImpl();
// Constructs this service provider implementation, binding it to the given
- // interface request.
+ // interface request. Note: If |service_provider_request| is not valid
+ // ("pending"), then the object will be put into an unbound state.
explicit ServiceProviderImpl(
const ConnectionContext& connection_context,
InterfaceRequest<ServiceProvider> service_provider_request);

Powered by Google App Engine
This is Rietveld 408576698