| Index: content/public/common/connection_filter.h
|
| diff --git a/content/public/common/connection_filter.h b/content/public/common/connection_filter.h
|
| index 60679a865ad3a26118b4eb9d833f961115ccb01c..daa864b24b6afd99db5ba98a6c1f142fb95506e5 100644
|
| --- a/content/public/common/connection_filter.h
|
| +++ b/content/public/common/connection_filter.h
|
| @@ -32,6 +32,9 @@ class CONTENT_EXPORT ConnectionFilter {
|
| //
|
| // If a ConnectionFilter is not interested in an incoming connection, it
|
| // should return |false|.
|
| + //
|
| + // NOTE: This ConnectionFilter is NOT guaranteed to outlive |registry|, so you
|
| + // must not attach unsafe references to |this|, e.g., via AddInterface().
|
| virtual bool OnConnect(const shell::Identity& remote_identity,
|
| shell::InterfaceRegistry* registry,
|
| shell::Connector* connector) = 0;
|
|
|