summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/buffered_socket_writer.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 23:23:30 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 23:23:30 +0000
commit86dbc72dd6030f7796ac602279fab6ad85eeca60 (patch)
tree6f4eafd5ed6d7b00437f23bf2c797b841783a8b8 /remoting/protocol/buffered_socket_writer.h
parent44d461e80c337d7baa8b9b9055d3b17ee7bc66b6 (diff)
downloadchromium_src-86dbc72dd6030f7796ac602279fab6ad85eeca60.zip
chromium_src-86dbc72dd6030f7796ac602279fab6ad85eeca60.tar.gz
chromium_src-86dbc72dd6030f7796ac602279fab6ad85eeca60.tar.bz2
Close all writers before JingleSession is destroyed.
BUG=None TEST=None Review URL: http://codereview.chromium.org/7218061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/buffered_socket_writer.h')
-rw-r--r--remoting/protocol/buffered_socket_writer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/protocol/buffered_socket_writer.h b/remoting/protocol/buffered_socket_writer.h
index 1249080..46a3a7e 100644
--- a/remoting/protocol/buffered_socket_writer.h
+++ b/remoting/protocol/buffered_socket_writer.h
@@ -55,7 +55,8 @@ class BufferedSocketWriterBase
// to be written. Can be called on any thread.
int GetBufferChunks();
- // Stops writing and drops current buffers.
+ // Stops writing and drops current buffers. Must be called on the
+ // network thread.
void Close();
protected: