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

Unified Diff: remoting/host/video_scheduler.cc

Issue 11646010: Use more specific protocol::CursorShapeStub instead of protocol::ClientStub in VideoScheduler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/host/video_scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/video_scheduler.cc
diff --git a/remoting/host/video_scheduler.cc b/remoting/host/video_scheduler.cc
index f421df75c681c05e13c69342a1c7cc34ef8a2ae8..75c7c1215910b187b6f06648c26a4f0c255c7759 100644
--- a/remoting/host/video_scheduler.cc
+++ b/remoting/host/video_scheduler.cc
@@ -20,7 +20,7 @@
#include "remoting/proto/control.pb.h"
#include "remoting/proto/internal.pb.h"
#include "remoting/proto/video.pb.h"
-#include "remoting/protocol/client_stub.h"
+#include "remoting/protocol/cursor_shape_stub.h"
#include "remoting/protocol/message_decoder.h"
#include "remoting/protocol/video_stub.h"
#include "remoting/protocol/util.h"
@@ -38,17 +38,17 @@ scoped_refptr<VideoScheduler> VideoScheduler::Create(
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
VideoFrameCapturer* capturer,
scoped_ptr<VideoEncoder> encoder,
- protocol::ClientStub* client_stub,
+ protocol::CursorShapeStub* cursor_stub,
protocol::VideoStub* video_stub) {
DCHECK(network_task_runner->BelongsToCurrentThread());
DCHECK(capturer);
DCHECK(encoder);
- DCHECK(client_stub);
+ DCHECK(cursor_stub);
DCHECK(video_stub);
scoped_refptr<VideoScheduler> scheduler = new VideoScheduler(
capture_task_runner, encode_task_runner, network_task_runner,
- capturer, encoder.Pass(), client_stub, video_stub);
+ capturer, encoder.Pass(), cursor_stub, video_stub);
capture_task_runner->PostTask(
FROM_HERE, base::Bind(&VideoScheduler::StartOnCaptureThread, scheduler));
@@ -143,14 +143,14 @@ VideoScheduler::VideoScheduler(
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
VideoFrameCapturer* capturer,
scoped_ptr<VideoEncoder> encoder,
- protocol::ClientStub* client_stub,
+ protocol::CursorShapeStub* cursor_stub,
protocol::VideoStub* video_stub)
: capture_task_runner_(capture_task_runner),
encode_task_runner_(encode_task_runner),
network_task_runner_(network_task_runner),
capturer_(capturer),
encoder_(encoder.Pass()),
- cursor_stub_(client_stub),
+ cursor_stub_(cursor_stub),
video_stub_(video_stub),
pending_captures_(0),
did_skip_frame_(false),
« no previous file with comments | « remoting/host/video_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698