| Index: jingle/glue/channel_socket_adapter.h
|
| diff --git a/jingle/glue/channel_socket_adapter.h b/jingle/glue/channel_socket_adapter.h
|
| index ab78c9ce7739663a8f2fe278481cb32e9b6c41ce..a39ef605fe5153bd91c91faf0fddd1dbb25fea47 100644
|
| --- a/jingle/glue/channel_socket_adapter.h
|
| +++ b/jingle/glue/channel_socket_adapter.h
|
| @@ -29,7 +29,9 @@ class TransportChannelSocketAdapter : public net::Socket,
|
| explicit TransportChannelSocketAdapter(cricket::TransportChannel* channel);
|
| virtual ~TransportChannelSocketAdapter();
|
|
|
| - // Sets callback that should be called when the adapter is being destroyed.
|
| + // Sets callback that should be called when the adapter is being
|
| + // destroyed. The callback is not allowed to touch the adapter, but
|
| + // can do anything else, e.g. destroy the TransportChannel.
|
| void SetOnDestroyedCallback(const base::Closure& callback);
|
|
|
| // Closes the stream. |error_code| specifies error code that will
|
|
|