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

Unified Diff: content/public/browser/mojo_app_connection.h

Issue 1687693002: Rename ConnectToService to ConnectToInterface() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sp2
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/public/browser/mojo_app_connection.h
diff --git a/content/public/browser/mojo_app_connection.h b/content/public/browser/mojo_app_connection.h
index 925f751dcbd963e466cfcdc513c1603f502a2302..4cfa2745154728f2b36ad76d776f4c05f1ad613d 100644
--- a/content/public/browser/mojo_app_connection.h
+++ b/content/public/browser/mojo_app_connection.h
@@ -37,12 +37,12 @@ class CONTENT_EXPORT MojoAppConnection {
// Connects to a service within the application.
template <typename Interface>
- void ConnectToService(mojo::InterfacePtr<Interface>* proxy) {
- ConnectToService(Interface::Name_, mojo::GetProxy(proxy).PassMessagePipe());
+ void GetInterface(mojo::InterfacePtr<Interface>* proxy) {
+ GetInterface(Interface::Name_, mojo::GetProxy(proxy).PassMessagePipe());
}
- virtual void ConnectToService(const std::string& service_name,
- mojo::ScopedMessagePipeHandle handle) = 0;
+ virtual void GetInterface(const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle handle) = 0;
};
} // namespace content
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.cc ('k') | content/renderer/mus/render_widget_mus_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698