| Index: mojo/public/cpp/application/application_connection.h
|
| diff --git a/mojo/public/cpp/application/application_connection.h b/mojo/public/cpp/application/application_connection.h
|
| index 3507974d0832f657e4a11885458efb7fe7b9fded..8979d0cf4b81e6a74d4b39ee619e53bc6a67e07b 100644
|
| --- a/mojo/public/cpp/application/application_connection.h
|
| +++ b/mojo/public/cpp/application/application_connection.h
|
| @@ -12,6 +12,7 @@
|
|
|
| namespace mojo {
|
|
|
| +struct ConnectionContext;
|
| class ServiceConnector;
|
|
|
| // Represents a connection to another application. An instance of this class is
|
| @@ -34,6 +35,8 @@ class ServiceConnector;
|
| // connection->AddService<Bar>(&my_foo_and_bar_factory_);
|
| //
|
| // The InterfaceFactory must outlive the ApplicationConnection.
|
| +//
|
| +// TODO(vtl): Don't get too attached to this class. I'm going to remove it.
|
| class ApplicationConnection {
|
| public:
|
| virtual ~ApplicationConnection();
|
| @@ -47,6 +50,8 @@ class ApplicationConnection {
|
| Interface::Name_);
|
| }
|
|
|
| + virtual const ConnectionContext& GetConnectionContext() const = 0;
|
| +
|
| // Returns the URL that was used by the source application to establish a
|
| // connection to the destination application.
|
| //
|
|
|