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

Unified Diff: remoting/host/host_mock_objects.cc

Issue 11363128: Converted VideoFrameCapturer callbacks into a VideoFrameCapturer::Delegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More Mac compilation issues. Created 8 years, 1 month 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/host_mock_objects.h ('k') | remoting/host/video_frame_capturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_mock_objects.cc
diff --git a/remoting/host/host_mock_objects.cc b/remoting/host/host_mock_objects.cc
index 3f5cfee9e1497ba0b9232ff9a80b875cb0d43f65..952699b9b45014053a7e5ba6e3b52ee102061850 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -17,13 +17,16 @@ MockVideoFrameCapturer::MockVideoFrameCapturer() {}
MockVideoFrameCapturer::~MockVideoFrameCapturer() {}
-MockCaptureCompletedCallback::MockCaptureCompletedCallback() {}
+MockVideoFrameCapturerDelegate::MockVideoFrameCapturerDelegate() {
+}
-MockCaptureCompletedCallback::~MockCaptureCompletedCallback() {}
+MockVideoFrameCapturerDelegate::~MockVideoFrameCapturerDelegate() {
+}
-void MockCaptureCompletedCallback::CaptureCompleted(
- scoped_refptr<CaptureData> capture_data) {
- CaptureCompletedPtr(capture_data.get());
+void MockVideoFrameCapturerDelegate::OnCursorShapeChanged(
+ scoped_ptr<protocol::CursorShapeInfo> cursor_shape) {
+ // Notify the mock method.
+ OnCursorShapeChangedPtr(cursor_shape.get());
}
MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory()
« no previous file with comments | « remoting/host/host_mock_objects.h ('k') | remoting/host/video_frame_capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698