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

Unified Diff: remoting/capturer/video_frame_capturer_unittest.cc

Issue 11470028: Move screen capturers to remoting/capturer. (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
Index: remoting/capturer/video_frame_capturer_unittest.cc
diff --git a/remoting/host/video_frame_capturer_unittest.cc b/remoting/capturer/video_frame_capturer_unittest.cc
similarity index 90%
rename from remoting/host/video_frame_capturer_unittest.cc
rename to remoting/capturer/video_frame_capturer_unittest.cc
index bb69c6caa80e55c7de0701184266a63fedce2f7d..d667108f9d40ec7358cc5676f9a6cc09a4b48495 100644
--- a/remoting/host/video_frame_capturer_unittest.cc
+++ b/remoting/capturer/video_frame_capturer_unittest.cc
@@ -2,16 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/video_frame_capturer.h"
+#include "remoting/capturer/video_frame_capturer.h"
#include "base/bind.h"
#if defined(OS_MACOSX)
#include "base/mac/mac_util.h"
#endif // defined(OS_MACOSX)
-#include "remoting/base/capture_data.h"
-#include "remoting/base/shared_buffer_factory.h"
-#include "remoting/host/host_mock_objects.h"
-#include "remoting/protocol/protocol_mock_objects.h"
+#include "remoting/capturer/capture_data.h"
+#include "remoting/capturer/shared_buffer_factory.h"
+#include "remoting/capturer/video_capturer_mock_objects.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -80,7 +79,7 @@ TEST_F(VideoFrameCapturerTest, Capture) {
TEST_F(VideoFrameCapturerTest, UseSharedBuffers) {
EXPECT_CALL(delegate_,
OnCaptureCompleted(DirtyRegionIsNonEmptyRect()));
- EXPECT_CALL(delegate_, OnCursorShapeChangedPtr(_))
+ EXPECT_CALL(delegate_, OnCursorShapeChanged(_))
.Times(AnyNumber());
EXPECT_CALL(shared_buffer_factory_, CreateSharedBuffer(_))

Powered by Google App Engine
This is Rietveld 408576698