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

Unified Diff: remoting/protocol/video_stub.h

Issue 8116021: Switch remoting/protocol to new callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 2 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/session_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « remoting/protocol/session_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698