Index: remoting/protocol/video_stub.h |
diff --git a/remoting/protocol/video_stub.h b/remoting/protocol/video_stub.h |
index d9c3714c620c5fbd8507c55335b76c896d180590..16e467709dba24f1097bc78441fe87c16f6b7581 100644 |
--- a/remoting/protocol/video_stub.h |
+++ b/remoting/protocol/video_stub.h |
@@ -5,7 +5,7 @@ |
#ifndef REMOTING_PROTOCOL_VIDEO_STUB_H_ |
#define REMOTING_PROTOCOL_VIDEO_STUB_H_ |
-class Task; |
+#include "base/callback.h" |
namespace remoting { |
@@ -21,7 +21,7 @@ class VideoStub { |
// video packets in protobuf stream. It should not be used here. Add another |
// struct and use it to represent video packets internally. |
virtual void ProcessVideoPacket(const VideoPacket* video_packet, |
- Task* done) = 0; |
+ const base::Closure& done) = 0; |
// Returns number of packets currently pending in the buffer. |
virtual int GetPendingPackets() = 0; |