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

Unified Diff: remoting/protocol/protobuf_video_writer.h

Issue 7218061: Close all writers before JingleSession is destroyed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests 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
« no previous file with comments | « remoting/protocol/input_sender.cc ('k') | remoting/protocol/protobuf_video_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/protobuf_video_writer.h
diff --git a/remoting/protocol/protobuf_video_writer.h b/remoting/protocol/protobuf_video_writer.h
index aecefbc486a33c0d1ee17cbdac54209c0845a094..189eacfce6179e29fc49cec8b837f4a2c98033bf 100644
--- a/remoting/protocol/protobuf_video_writer.h
+++ b/remoting/protocol/protobuf_video_writer.h
@@ -5,6 +5,7 @@
#ifndef REMOTING_PROTOCOL_PROTOBUF_VIDEO_WRITER_H_
#define REMOTING_PROTOCOL_PROTOBUF_VIDEO_WRITER_H_
+#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "remoting/protocol/video_writer.h"
@@ -20,11 +21,13 @@ class ProtobufVideoWriter : public VideoWriter {
virtual ~ProtobufVideoWriter();
// VideoWriter interface.
- virtual void Init(protocol::Session* session);
+ virtual void Init(protocol::Session* session) OVERRIDE;
+ virtual void Close() OVERRIDE;
// VideoStub interface.
- virtual void ProcessVideoPacket(const VideoPacket* packet, Task* done);
- virtual int GetPendingPackets();
+ virtual void ProcessVideoPacket(const VideoPacket* packet,
+ Task* done) OVERRIDE;
+ virtual int GetPendingPackets() OVERRIDE;
private:
scoped_refptr<BufferedSocketWriter> buffered_writer_;
« no previous file with comments | « remoting/protocol/input_sender.cc ('k') | remoting/protocol/protobuf_video_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698