Index: remoting/host/chromoting_host_unittest.cc |
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc |
index f7b56e23f84710cba2051989fd1020b4eb138ca3..22f493eedab908ceab023d856270eccec1d7cb82 100644 |
--- a/remoting/host/chromoting_host_unittest.cc |
+++ b/remoting/host/chromoting_host_unittest.cc |
@@ -6,7 +6,6 @@ |
#include "base/bind_helpers.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop_proxy.h" |
-#include "media/video/capture/screen/screen_capturer_fake.h" |
#include "remoting/base/auto_thread_task_runner.h" |
#include "remoting/host/audio_capturer.h" |
#include "remoting/host/chromoting_host.h" |
@@ -21,6 +20,7 @@ |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gmock_mutant.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "third_party/webrtc/modules/desktop_capture/screen_capturer_fake.h" |
using ::remoting::protocol::MockClientStub; |
using ::remoting::protocol::MockConnectionToClient; |
@@ -231,7 +231,7 @@ class ChromotingHostTest : public testing::Test { |
host_->OnSessionRouteChange(get_client(0), channel_name, route); |
} |
- // Creates a DesktopEnvironment with a fake media::ScreenCapturer, to mock |
+ // Creates a DesktopEnvironment with a fake webrtc::ScreenCapturer, to mock |
// DesktopEnvironmentFactory::Create(). |
DesktopEnvironment* CreateDesktopEnvironment() { |
MockDesktopEnvironment* desktop_environment = new MockDesktopEnvironment(); |
@@ -261,10 +261,10 @@ class ChromotingHostTest : public testing::Test { |
return input_injector; |
} |
- // Creates a fake media::ScreenCapturer, to mock |
+ // Creates a fake webrtc::ScreenCapturer, to mock |
// DesktopEnvironment::CreateVideoCapturer(). |
- media::ScreenCapturer* CreateVideoCapturer() { |
- return new media::ScreenCapturerFake(); |
+ webrtc::ScreenCapturer* CreateVideoCapturer() { |
+ return new webrtc::ScreenCapturerFake(); |
} |
void DisconnectAllClients() { |