OLD | NEW |
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 Loading... |
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 |
OLD | NEW |