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

Unified Diff: mojo/shell/public/cpp/lib/service_connector_registry.cc

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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/shell/public/cpp/lib/service_connector_registry.cc
diff --git a/mojo/shell/public/cpp/lib/service_connector_registry.cc b/mojo/shell/public/cpp/lib/service_connector_registry.cc
index edc91e08ebd8a855618a796eab0bd76c549fae00..fc74ef08a9e9a3309f41cb1c9fb7101cae07e3df 100644
--- a/mojo/shell/public/cpp/lib/service_connector_registry.cc
+++ b/mojo/shell/public/cpp/lib/service_connector_registry.cc
@@ -42,17 +42,17 @@ void ServiceConnectorRegistry::RemoveServiceConnectorForName(
}
void ServiceConnectorRegistry::ConnectToService(
- ApplicationConnection* application_connection,
+ Connection* connection,
const std::string& interface_name,
ScopedMessagePipeHandle client_handle) {
auto iter = name_to_service_connector_.find(interface_name);
if (iter != name_to_service_connector_.end()) {
- iter->second->ConnectToService(application_connection, interface_name,
+ iter->second->ConnectToService(connection, interface_name,
std::move(client_handle));
return;
}
if (service_connector_) {
- service_connector_->ConnectToService(application_connection, interface_name,
+ service_connector_->ConnectToService(connection, interface_name,
std::move(client_handle));
}
}
« no previous file with comments | « mojo/shell/public/cpp/lib/service_connector_registry.h ('k') | mojo/shell/public/cpp/lib/service_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698