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

Unified Diff: remoting/protocol/video_writer.h

Issue 7218061: Close all writers before JingleSession is destroyed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 6 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
« remoting/protocol/connection_to_host.cc ('K') | « remoting/protocol/rtp_writer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_writer.h
diff --git a/remoting/protocol/video_writer.h b/remoting/protocol/video_writer.h
index b9216c05dc7bd4720743b636456b11026ba49f7f..ca3381ec13792e813fa3c00413012b341b6bdb28 100644
--- a/remoting/protocol/video_writer.h
+++ b/remoting/protocol/video_writer.h
@@ -29,6 +29,10 @@ class VideoWriter : public VideoStub {
// Initializes the writer.
virtual void Init(Session* session) = 0;
+ // Stops writing. Must be called on the network thread before this
+ // object is destroyed.
+ virtual void Close() = 0;
+
protected:
VideoWriter() { }
« remoting/protocol/connection_to_host.cc ('K') | « remoting/protocol/rtp_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698