| Index: mojo/shell/public/cpp/connection.h
|
| diff --git a/mojo/shell/public/cpp/connection.h b/mojo/shell/public/cpp/connection.h
|
| index d3b3b8a1e240e98cf0740f0ad1a78626b43111ac..edb407311e1d4400a37c4793dfa8e660557b6656 100644
|
| --- a/mojo/shell/public/cpp/connection.h
|
| +++ b/mojo/shell/public/cpp/connection.h
|
| @@ -82,6 +82,11 @@ class Connection {
|
| mojo::GetInterface(GetRemoteInterfaces(), ptr);
|
| }
|
|
|
| + // Returns true if the remote application has the specified capability class
|
| + // specified in its manifest. Only valid for inbound connections. Will return
|
| + // false for outbound connections.
|
| + virtual bool HasCapabilityClass(const std::string& class_name) const = 0;
|
| +
|
| // Returns the name that was used by the source application to establish a
|
| // connection to the destination application.
|
| //
|
|
|