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

Unified Diff: mojo/shell/application_instance.cc

Issue 1684783002: Rename ServiceProvider to InterfaceProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « mojo/shell/application_instance.h ('k') | mojo/shell/application_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_instance.cc
diff --git a/mojo/shell/application_instance.cc b/mojo/shell/application_instance.cc
index d09e1423349c76e5413494474f87450579227fe0..6e35d31abb8d452ec2230ddba09ef22bbd481690 100644
--- a/mojo/shell/application_instance.cc
+++ b/mojo/shell/application_instance.cc
@@ -77,8 +77,8 @@ void ApplicationInstance::BindPIDReceiver(
// Shell implementation:
void ApplicationInstance::ConnectToApplication(
URLRequestPtr app_request,
- InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services,
+ InterfaceRequest<InterfaceProvider> remote_interfaces,
+ InterfaceProviderPtr local_interfaces,
mojom::CapabilityFilterPtr filter,
const ConnectToApplicationCallback& callback) {
std::string url_string = app_request->url.To<std::string>();
@@ -101,8 +101,8 @@ void ApplicationInstance::ConnectToApplication(
params->SetTargetURLRequest(
std::move(app_request),
Identity(app_url, std::string(), capability_filter));
- params->set_services(std::move(services));
- params->set_exposed_services(std::move(exposed_services));
+ params->set_remote_interfaces(std::move(remote_interfaces));
+ params->set_local_interfaces(std::move(local_interfaces));
params->set_connect_callback(callback);
manager_->ConnectToApplication(std::move(params));
} else {
@@ -143,8 +143,8 @@ void ApplicationInstance::CallAcceptConnection(
manager_->GetApplicationInstance(params->source());
uint32_t source_id = source ? source->id() : Shell::kInvalidApplicationID;
shell_client_->AcceptConnection(
- params->source().url().spec(), source_id, params->TakeServices(),
- params->TakeExposedServices(), Array<String>::From(interfaces),
+ params->source().url().spec(), source_id, params->TakeRemoteInterfaces(),
+ params->TakeLocalInterfaces(), Array<String>::From(interfaces),
params->target().url().spec());
}
« no previous file with comments | « mojo/shell/application_instance.h ('k') | mojo/shell/application_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698