| Index: jingle/glue/channel_socket_adapter.h
|
| diff --git a/jingle/glue/channel_socket_adapter.h b/jingle/glue/channel_socket_adapter.h
|
| index a39ef605fe5153bd91c91faf0fddd1dbb25fea47..1b36eeb84d2439e5f7c5b91f1ecd753e7cd976ac 100644
|
| --- a/jingle/glue/channel_socket_adapter.h
|
| +++ b/jingle/glue/channel_socket_adapter.h
|
| @@ -29,11 +29,6 @@ class TransportChannelSocketAdapter : public net::Socket,
|
| explicit TransportChannelSocketAdapter(cricket::TransportChannel* channel);
|
| virtual ~TransportChannelSocketAdapter();
|
|
|
| - // 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
|
| // be returned by Read() and Write() after the stream is closed.
|
| // Must be called before the session and the channel are destroyed.
|
| @@ -58,8 +53,6 @@ class TransportChannelSocketAdapter : public net::Socket,
|
|
|
| cricket::TransportChannel* channel_;
|
|
|
| - base::Closure destruction_callback_;
|
| -
|
| net::CompletionCallback read_callback_;
|
| scoped_refptr<net::IOBuffer> read_buffer_;
|
| int read_buffer_size_;
|
|
|