Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: jingle/glue/channel_socket_adapter.h

Issue 9433027: Delete Session and SessionManager object synchronously. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | jingle/glue/channel_socket_adapter.cc » ('j') | remoting/protocol/fake_authenticator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | jingle/glue/channel_socket_adapter.cc » ('j') | remoting/protocol/fake_authenticator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698