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

Unified Diff: jingle/glue/channel_socket_adapter.cc

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
Index: jingle/glue/channel_socket_adapter.cc
diff --git a/jingle/glue/channel_socket_adapter.cc b/jingle/glue/channel_socket_adapter.cc
index 19158a4db58b28cff5c0ce4f9af5190b33fab6af..099f8893479642d4e6635bf4070650e4b5741c87 100644
--- a/jingle/glue/channel_socket_adapter.cc
+++ b/jingle/glue/channel_socket_adapter.cc
@@ -31,13 +31,6 @@ TransportChannelSocketAdapter::TransportChannelSocketAdapter(
}
TransportChannelSocketAdapter::~TransportChannelSocketAdapter() {
- if (!destruction_callback_.is_null())
- destruction_callback_.Run();
-}
-
-void TransportChannelSocketAdapter::SetOnDestroyedCallback(
- const base::Closure& callback) {
- destruction_callback_ = callback;
}
int TransportChannelSocketAdapter::Read(

Powered by Google App Engine
This is Rietveld 408576698