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

Unified Diff: media/video/capture/screen/screen_capture_device_unittest.cc

Issue 15692018: Remove screen capturers from media/video/capture/screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: media/video/capture/screen/screen_capture_device_unittest.cc
diff --git a/media/video/capture/screen/screen_capture_device_unittest.cc b/media/video/capture/screen/screen_capture_device_unittest.cc
index 0247bb96bff8303fa3ae836e0141b13027f3d232..04f4201bb343b68248fafcc2012afacf2af7325b 100644
--- a/media/video/capture/screen/screen_capture_device_unittest.cc
+++ b/media/video/capture/screen/screen_capture_device_unittest.cc
@@ -49,7 +49,7 @@ class MockFrameObserver : public VideoCaptureDevice::EventHandler {
};
// TODO(sergeyu): Move this to a separate file where it can be reused.
-class FakeScreenCapturer : public ScreenCapturer {
+class FakeScreenCapturer : public webrtc::ScreenCapturer {
public:
FakeScreenCapturer()
: callback_(NULL),
@@ -133,7 +133,7 @@ TEST_F(ScreenCaptureDeviceTest, ScreenResolutionChange) {
ScreenCaptureDevice capture_device(
worker_pool_->GetSequencedTaskRunner(worker_pool_->GetSequenceToken()));
capture_device.SetScreenCapturerForTest(
- scoped_ptr<ScreenCapturer>(mock_capturer));
+ scoped_ptr<webrtc::ScreenCapturer>(mock_capturer));
VideoCaptureCapability caps;
base::WaitableEvent done_event(false, false);
« no previous file with comments | « media/video/capture/screen/screen_capture_device.cc ('k') | media/video/capture/screen/screen_capture_frame_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698