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 |