| Index: remoting/host/chromoting_host_unittest.cc
|
| diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
|
| index 67991955111967cd9a96ca0cb25bfb6d8fd97766..2177dca8ddad6dffa0f5a2c86f7b81810473d0b0 100644
|
| --- a/remoting/host/chromoting_host_unittest.cc
|
| +++ b/remoting/host/chromoting_host_unittest.cc
|
| @@ -11,8 +11,8 @@
|
| #include "remoting/host/chromoting_host.h"
|
| #include "remoting/host/chromoting_host_context.h"
|
| #include "remoting/host/desktop_environment.h"
|
| +#include "remoting/host/fake_desktop_capturer.h"
|
| #include "remoting/host/fake_mouse_cursor_monitor.h"
|
| -#include "remoting/host/fake_screen_capturer.h"
|
| #include "remoting/host/host_mock_objects.h"
|
| #include "remoting/proto/video.pb.h"
|
| #include "remoting/protocol/errors.h"
|
| @@ -236,7 +236,7 @@ class ChromotingHostTest : public testing::Test {
|
| host_->OnSessionRouteChange(get_client(0), channel_name, route);
|
| }
|
|
|
| - // Creates a DesktopEnvironment with a fake webrtc::ScreenCapturer, to mock
|
| + // Creates a DesktopEnvironment with a fake webrtc::DesktopCapturer, to mock
|
| // DesktopEnvironmentFactory::Create().
|
| DesktopEnvironment* CreateDesktopEnvironment() {
|
| MockDesktopEnvironment* desktop_environment = new MockDesktopEnvironment();
|
| @@ -269,10 +269,10 @@ class ChromotingHostTest : public testing::Test {
|
| return input_injector;
|
| }
|
|
|
| - // Creates a fake webrtc::ScreenCapturer, to mock
|
| + // Creates a fake webrtc::DesktopCapturer, to mock
|
| // DesktopEnvironment::CreateVideoCapturer().
|
| - webrtc::ScreenCapturer* CreateVideoCapturer() {
|
| - return new FakeScreenCapturer();
|
| + webrtc::DesktopCapturer* CreateVideoCapturer() {
|
| + return new FakeDesktopCapturer();
|
| }
|
|
|
| // Creates a MockMouseCursorMonitor, to mock
|
|
|