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

Unified Diff: mojo/public/cpp/application/lib/service_connector_registry.h

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (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_connector_registry.h
diff --git a/mojo/public/cpp/application/lib/service_connector_registry.h b/mojo/public/cpp/application/lib/service_connector_registry.h
index b66d379d5f4921703f9fcd68bf87b7d9f6e0b714..235d34d5bd9a062a07b4bde1146546b7b3973282 100644
--- a/mojo/public/cpp/application/lib/service_connector_registry.h
+++ b/mojo/public/cpp/application/lib/service_connector_registry.h
@@ -13,7 +13,7 @@
namespace mojo {
-class ApplicationConnection;
+struct ConnectionContext;
class ServiceConnector;
namespace internal {
@@ -40,7 +40,7 @@ class ServiceConnectorRegistry {
// |interface_name|. In that case, the |client_handle| is passed along
// to the |ServiceConnector|. Otherwise, this function returns false and
// |client_handle| is untouched.
- bool ConnectToService(ApplicationConnection* application_connection,
+ bool ConnectToService(const ConnectionContext& connection_context,
const std::string& interface_name,
ScopedMessagePipeHandle* client_handle);

Powered by Google App Engine
This is Rietveld 408576698