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

Unified Diff: remoting/protocol/protobuf_video_reader.h

Issue 9827006: Refactor VideoStub interface to accept ownership of video packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/message_reader_unittest.cc ('k') | remoting/protocol/protobuf_video_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/protobuf_video_reader.h
diff --git a/remoting/protocol/protobuf_video_reader.h b/remoting/protocol/protobuf_video_reader.h
index 9d0d3d26c39e831f6d91f10badfa7329656849c7..8bf07b20f2a001b502a2ea33624e0079859b6c19 100644
--- a/remoting/protocol/protobuf_video_reader.h
+++ b/remoting/protocol/protobuf_video_reader.h
@@ -32,7 +32,8 @@ class ProtobufVideoReader : public VideoReader {
private:
void OnChannelReady(scoped_ptr<net::StreamSocket> socket);
- void OnNewData(VideoPacket* packet, const base::Closure& done_task);
+ void OnNewData(scoped_ptr<VideoPacket> packet,
+ const base::Closure& done_task);
Session* session_;
« no previous file with comments | « remoting/protocol/message_reader_unittest.cc ('k') | remoting/protocol/protobuf_video_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698