| 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 "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/capturer/capturer_mock_objects.h" |
| 8 #include "remoting/host/audio_capturer.h" | 9 #include "remoting/host/audio_capturer.h" |
| 9 #include "remoting/host/client_session.h" | 10 #include "remoting/host/client_session.h" |
| 10 #include "remoting/host/desktop_environment.h" | 11 #include "remoting/host/desktop_environment.h" |
| 11 #include "remoting/host/host_mock_objects.h" | 12 #include "remoting/host/host_mock_objects.h" |
| 12 #include "remoting/protocol/protocol_mock_objects.h" | 13 #include "remoting/protocol/protocol_mock_objects.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 15 |
| 15 namespace remoting { | 16 namespace remoting { |
| 16 | 17 |
| 17 using protocol::MockConnectionToClient; | 18 using protocol::MockConnectionToClient; |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 expected_y[j]))) | 367 expected_y[j]))) |
| 367 .After(connected); | 368 .After(connected); |
| 368 connection_->input_stub()->InjectMouseEvent(event); | 369 connection_->input_stub()->InjectMouseEvent(event); |
| 369 } | 370 } |
| 370 } | 371 } |
| 371 | 372 |
| 372 DisconnectClientSession(); | 373 DisconnectClientSession(); |
| 373 } | 374 } |
| 374 | 375 |
| 375 } // namespace remoting | 376 } // namespace remoting |
| OLD | NEW |