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

Unified Diff: mojo/shell/connect_util.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/connect_to_application_params.h ('k') | mojo/shell/connect_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/connect_util.h
diff --git a/mojo/shell/connect_util.h b/mojo/shell/connect_util.h
index 14ca4450786c7f9847fc22dbdf5bf76f75bf6367..e3938f19426dcdda310d61f3fc0c66edb5cc161f 100644
--- a/mojo/shell/connect_util.h
+++ b/mojo/shell/connect_util.h
@@ -17,7 +17,7 @@ namespace shell {
class ApplicationManager;
-ScopedMessagePipeHandle ConnectToServiceByName(
+ScopedMessagePipeHandle ConnectToInterfaceByName(
ApplicationManager* application_manager,
const GURL& application_url,
const std::string& interface_name);
@@ -26,12 +26,12 @@ ScopedMessagePipeHandle ConnectToServiceByName(
// capability filters. Runs |application_url| with a permissive capability
// filter.
template <typename Interface>
-inline void ConnectToService(ApplicationManager* application_manager,
- const GURL& application_url,
- InterfacePtr<Interface>* ptr) {
+inline void ConnectToInterface(ApplicationManager* application_manager,
+ const GURL& application_url,
+ InterfacePtr<Interface>* ptr) {
ScopedMessagePipeHandle service_handle =
- ConnectToServiceByName(application_manager, application_url,
- Interface::Name_);
+ ConnectToInterfaceByName(application_manager, application_url,
+ Interface::Name_);
ptr->Bind(InterfacePtrInfo<Interface>(std::move(service_handle), 0u));
}
« no previous file with comments | « mojo/shell/connect_to_application_params.h ('k') | mojo/shell/connect_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698