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

Unified Diff: jingle/glue/channel_socket_adapter.h

Issue 9366001: Implement support for route change notifications in the Transport interface. (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 | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
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 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
« no previous file with comments | « no previous file | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698