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

Unified Diff: mojo/public/cpp/application/lib/service_registry.cc

Issue 1973653002: Add a new way of using ServiceProviderImpl without InterfaceFactory. (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/lib/service_registry.cc
diff --git a/mojo/public/cpp/application/lib/service_registry.cc b/mojo/public/cpp/application/lib/service_registry.cc
index 6be0e100bc6804d57cef043ede377d6d3c58645f..3c34628cc845418e27cf0bf515d5f77ccdd6f3e0 100644
--- a/mojo/public/cpp/application/lib/service_registry.cc
+++ b/mojo/public/cpp/application/lib/service_registry.cc
@@ -34,6 +34,10 @@ void ServiceRegistry::RemoveServiceConnectorForName(
service_connector_registry_.RemoveServiceConnectorForName(interface_name);
}
+const ConnectionContext& ServiceRegistry::GetConnectionContext() const {
+ return connection_context_;
+}
+
const std::string& ServiceRegistry::GetConnectionURL() {
return connection_context_.connection_url;
}

Powered by Google App Engine
This is Rietveld 408576698