| Index: mojo/shell/public/cpp/shell.h
|
| diff --git a/mojo/shell/public/cpp/shell.h b/mojo/shell/public/cpp/shell.h
|
| index 00e4605bb9197a823069cec1a6ec5f4241e8543c..6861eabab7058667dd7480ad290c5da2b867406b 100644
|
| --- a/mojo/shell/public/cpp/shell.h
|
| +++ b/mojo/shell/public/cpp/shell.h
|
| @@ -48,16 +48,17 @@ class Shell {
|
| // Connect to application identified by |request->url| and connect to the
|
| // service implementation of the interface identified by |Interface|.
|
| template <typename Interface>
|
| - void ConnectToService(ConnectParams* params, InterfacePtr<Interface>* ptr) {
|
| + void ConnectToInterface(ConnectParams* params, InterfacePtr<Interface>* ptr) {
|
| scoped_ptr<Connection> connection = Connect(params);
|
| if (connection)
|
| connection->GetInterface(ptr);
|
| }
|
| template <typename Interface>
|
| - void ConnectToService(const std::string& url, InterfacePtr<Interface>* ptr) {
|
| + void ConnectToInterface(const std::string& url,
|
| + InterfacePtr<Interface>* ptr) {
|
| ConnectParams params(url);
|
| params.set_filter(CreatePermissiveCapabilityFilter());
|
| - return ConnectToService(¶ms, ptr);
|
| + return ConnectToInterface(¶ms, ptr);
|
| }
|
|
|
| // Initiate shutdown of this application. This may involve a round trip to the
|
|
|