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

Side by Side Diff: remoting/host/client_session_unittest.cc

Issue 13983010: Use webrtc::DesktopCapturer for screen capturer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "media/video/capture/screen/screen_capturer_fake.h" 6 #include "media/video/capture/screen/screen_capturer_fake.h"
7 #include "media/video/capture/screen/screen_capturer_mock_objects.h" 7 #include "media/video/capture/screen/screen_capturer_mock_objects.h"
8 #include "remoting/base/auto_thread_task_runner.h" 8 #include "remoting/base/auto_thread_task_runner.h"
9 #include "remoting/base/constants.h" 9 #include "remoting/base/constants.h"
10 #include "remoting/host/audio_capturer.h" 10 #include "remoting/host/audio_capturer.h"
11 #include "remoting/host/client_session.h" 11 #include "remoting/host/client_session.h"
12 #include "remoting/host/desktop_environment.h" 12 #include "remoting/host/desktop_environment.h"
13 #include "remoting/host/host_mock_objects.h" 13 #include "remoting/host/host_mock_objects.h"
14 #include "remoting/protocol/protocol_mock_objects.h" 14 #include "remoting/protocol/protocol_mock_objects.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
16 17
17 namespace remoting { 18 namespace remoting {
18 19
19 using protocol::MockConnectionToClient; 20 using protocol::MockConnectionToClient;
20 using protocol::MockClientStub; 21 using protocol::MockClientStub;
21 using protocol::MockHostStub; 22 using protocol::MockHostStub;
22 using protocol::MockInputStub; 23 using protocol::MockInputStub;
23 using protocol::MockSession; 24 using protocol::MockSession;
24 using protocol::MockVideoStub; 25 using protocol::MockVideoStub;
25 using protocol::SessionConfig; 26 using protocol::SessionConfig;
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 .After(connected) 526 .After(connected)
526 .WillOnce(DoAll( 527 .WillOnce(DoAll(
527 InvokeWithoutArgs(this, &ClientSessionTest::DisconnectClientSession), 528 InvokeWithoutArgs(this, &ClientSessionTest::DisconnectClientSession),
528 InvokeWithoutArgs(this, &ClientSessionTest::StopClientSession))); 529 InvokeWithoutArgs(this, &ClientSessionTest::StopClientSession)));
529 530
530 ConnectClientSession(); 531 ConnectClientSession();
531 message_loop_.Run(); 532 message_loop_.Run();
532 } 533 }
533 534
534 } // namespace remoting 535 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/daemon_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698