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

Unified Diff: content/browser/mojo/mojo_shell_context.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
Index: content/browser/mojo/mojo_shell_context.cc
diff --git a/content/browser/mojo/mojo_shell_context.cc b/content/browser/mojo/mojo_shell_context.cc
index 4e5e70e61616c919006b0bb335cedd4130353bbc..7b6c26642bd1375c955eb3a7a43b4f56bbbf00cc 100644
--- a/content/browser/mojo/mojo_shell_context.cc
+++ b/content/browser/mojo/mojo_shell_context.cc
@@ -158,8 +158,8 @@ class MojoShellContext::Proxy {
void ConnectToApplication(
const GURL& url,
const GURL& requestor_url,
- mojo::InterfaceRequest<mojo::ServiceProvider> request,
- mojo::ServiceProviderPtr exposed_services,
+ mojo::InterfaceRequest<mojo::InterfaceProvider> request,
+ mojo::InterfaceProviderPtr exposed_services,
const mojo::shell::CapabilityFilter& filter,
const mojo::shell::mojom::Shell::ConnectToApplicationCallback& callback) {
if (task_runner_ == base::ThreadTaskRunnerHandle::Get()) {
@@ -260,8 +260,8 @@ MojoShellContext::~MojoShellContext() {
void MojoShellContext::ConnectToApplication(
const GURL& url,
const GURL& requestor_url,
- mojo::InterfaceRequest<mojo::ServiceProvider> request,
- mojo::ServiceProviderPtr exposed_services,
+ mojo::InterfaceRequest<mojo::InterfaceProvider> request,
+ mojo::InterfaceProviderPtr exposed_services,
const mojo::shell::CapabilityFilter& filter,
const mojo::shell::mojom::Shell::ConnectToApplicationCallback& callback) {
proxy_.Get()->ConnectToApplication(url, requestor_url, std::move(request),
@@ -272,8 +272,8 @@ void MojoShellContext::ConnectToApplication(
void MojoShellContext::ConnectToApplicationOnOwnThread(
const GURL& url,
const GURL& requestor_url,
- mojo::InterfaceRequest<mojo::ServiceProvider> request,
- mojo::ServiceProviderPtr exposed_services,
+ mojo::InterfaceRequest<mojo::InterfaceProvider> request,
+ mojo::InterfaceProviderPtr exposed_services,
const mojo::shell::CapabilityFilter& filter,
const mojo::shell::mojom::Shell::ConnectToApplicationCallback& callback) {
scoped_ptr<mojo::shell::ConnectToApplicationParams> params(
@@ -282,8 +282,8 @@ void MojoShellContext::ConnectToApplicationOnOwnThread(
mojo::shell::Identity(requestor_url, std::string(),
mojo::shell::GetPermissiveCapabilityFilter()));
params->SetTarget(mojo::shell::Identity(url, std::string(), filter));
- params->set_services(std::move(request));
- params->set_exposed_services(std::move(exposed_services));
+ params->set_remote_interfaces(std::move(request));
+ params->set_local_interfaces(std::move(exposed_services));
params->set_on_application_end(base::Bind(&base::DoNothing));
params->set_connect_callback(callback);
application_manager_->ConnectToApplication(std::move(params));
« no previous file with comments | « content/browser/mojo/mojo_shell_context.h ('k') | content/browser/service_worker/embedded_worker_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698