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/message_loop.h" |
6 #include "remoting/base/auto_thread_task_runner.h" | 6 #include "remoting/base/auto_thread_task_runner.h" |
7 #include "remoting/base/constants.h" | 7 #include "remoting/base/constants.h" |
8 #include "remoting/host/audio_capturer.h" | 8 #include "remoting/host/audio_capturer.h" |
9 #include "remoting/host/client_session.h" | 9 #include "remoting/host/client_session.h" |
10 #include "remoting/host/desktop_environment.h" | 10 #include "remoting/host/desktop_environment.h" |
11 #include "remoting/host/host_mock_objects.h" | 11 #include "remoting/host/host_mock_objects.h" |
12 #include "remoting/host/screen_capturer_fake.h" | 12 #include "remoting/host/screen_capturer_fake.h" |
13 #include "remoting/protocol/protocol_mock_objects.h" | 13 #include "remoting/protocol/protocol_mock_objects.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" | 15 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 .After(connected) | 531 .After(connected) |
532 .WillOnce(DoAll( | 532 .WillOnce(DoAll( |
533 InvokeWithoutArgs(this, &ClientSessionTest::DisconnectClientSession), | 533 InvokeWithoutArgs(this, &ClientSessionTest::DisconnectClientSession), |
534 InvokeWithoutArgs(this, &ClientSessionTest::StopClientSession))); | 534 InvokeWithoutArgs(this, &ClientSessionTest::StopClientSession))); |
535 | 535 |
536 ConnectClientSession(); | 536 ConnectClientSession(); |
537 message_loop_.Run(); | 537 message_loop_.Run(); |
538 } | 538 } |
539 | 539 |
540 } // namespace remoting | 540 } // namespace remoting |
OLD | NEW |