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

Unified Diff: content/browser/mojo/mojo_app_connection_impl.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 | « content/browser/mojo/mojo_app_connection_impl.h ('k') | content/browser/mojo/mojo_application_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_app_connection_impl.cc
diff --git a/content/browser/mojo/mojo_app_connection_impl.cc b/content/browser/mojo/mojo_app_connection_impl.cc
index 0a5f9743539edcdc999d9fef36b3e95985e19e6a..7b0aa7ceaade85a97425cad828188a69509d80ab 100644
--- a/content/browser/mojo/mojo_app_connection_impl.cc
+++ b/content/browser/mojo/mojo_app_connection_impl.cc
@@ -31,7 +31,8 @@ MojoAppConnectionImpl::MojoAppConnectionImpl(const GURL& url,
const GURL& requestor_url) {
MojoShellContext::ConnectToApplication(
url, requestor_url, mojo::GetProxy(&services_),
- mojo::ServiceProviderPtr(), mojo::shell::GetPermissiveCapabilityFilter(),
+ mojo::InterfaceProviderPtr(),
+ mojo::shell::GetPermissiveCapabilityFilter(),
base::Bind(&OnGotRemoteIDs));
}
@@ -41,7 +42,7 @@ MojoAppConnectionImpl::~MojoAppConnectionImpl() {
void MojoAppConnectionImpl::ConnectToService(
const std::string& service_name,
mojo::ScopedMessagePipeHandle handle) {
- services_->ConnectToService(service_name, std::move(handle));
+ services_->GetInterface(service_name, std::move(handle));
}
} // namespace content
« no previous file with comments | « content/browser/mojo/mojo_app_connection_impl.h ('k') | content/browser/mojo/mojo_application_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698