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

Unified Diff: mojo/shell/connect_to_application_params.h

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/capability_filter_unittest.mojom ('k') | mojo/shell/connect_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/connect_to_application_params.h
diff --git a/mojo/shell/connect_to_application_params.h b/mojo/shell/connect_to_application_params.h
index 66a0b1f32037561218b11e8629f61d887b62e1dc..07ade15e28234f2ef260df3d934368ced85f3ea2 100644
--- a/mojo/shell/connect_to_application_params.h
+++ b/mojo/shell/connect_to_application_params.h
@@ -13,7 +13,7 @@
#include "mojo/public/cpp/bindings/interface_request.h"
#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
#include "mojo/shell/identity.h"
-#include "mojo/shell/public/interfaces/service_provider.mojom.h"
+#include "mojo/shell/public/interfaces/interface_provider.mojom.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
#include "url/gurl.h"
@@ -50,18 +50,18 @@ class ConnectToApplicationParams {
return std::move(target_url_request_);
}
- void set_services(InterfaceRequest<ServiceProvider> value) {
- services_ = std::move(value);
+ void set_remote_interfaces(InterfaceRequest<InterfaceProvider> value) {
+ remote_interfaces_ = std::move(value);
}
- InterfaceRequest<ServiceProvider> TakeServices() {
- return std::move(services_);
+ InterfaceRequest<InterfaceProvider> TakeRemoteInterfaces() {
+ return std::move(remote_interfaces_);
}
- void set_exposed_services(ServiceProviderPtr value) {
- exposed_services_ = std::move(value);
+ void set_local_interfaces(InterfaceProviderPtr value) {
+ local_interfaces_ = std::move(value);
}
- ServiceProviderPtr TakeExposedServices() {
- return std::move(exposed_services_);
+ InterfaceProviderPtr TakeLocalInterfaces() {
+ return std::move(local_interfaces_);
}
void set_on_application_end(const base::Closure& value) {
@@ -91,8 +91,8 @@ class ConnectToApplicationParams {
// remains unchanged.
URLRequestPtr target_url_request_;
- InterfaceRequest<ServiceProvider> services_;
- ServiceProviderPtr exposed_services_;
+ InterfaceRequest<InterfaceProvider> remote_interfaces_;
+ InterfaceProviderPtr local_interfaces_;
base::Closure on_application_end_;
shell::mojom::Shell::ConnectToApplicationCallback connect_callback_;
« no previous file with comments | « mojo/shell/capability_filter_unittest.mojom ('k') | mojo/shell/connect_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698