OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <utility> |
| 6 |
5 #include "base/bind.h" | 7 #include "base/bind.h" |
6 #include "base/macros.h" | 8 #include "base/macros.h" |
7 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
8 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
9 #include "remoting/base/constants.h" | 11 #include "remoting/base/constants.h" |
10 #include "remoting/protocol/fake_session.h" | 12 #include "remoting/protocol/fake_session.h" |
11 #include "remoting/protocol/ice_connection_to_client.h" | 13 #include "remoting/protocol/ice_connection_to_client.h" |
12 #include "remoting/protocol/ice_connection_to_host.h" | 14 #include "remoting/protocol/ice_connection_to_host.h" |
13 #include "remoting/protocol/protocol_mock_objects.h" | 15 #include "remoting/protocol/protocol_mock_objects.h" |
14 #include "remoting/protocol/webrtc_connection_to_client.h" | 16 #include "remoting/protocol/webrtc_connection_to_client.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 EXPECT_CALL(host_input_stub_, InjectKeyEvent(EqualsKeyEvent(event))); | 196 EXPECT_CALL(host_input_stub_, InjectKeyEvent(EqualsKeyEvent(event))); |
195 | 197 |
196 // Send capabilities from the client. | 198 // Send capabilities from the client. |
197 client_connection_->input_stub()->InjectKeyEvent(event); | 199 client_connection_->input_stub()->InjectKeyEvent(event); |
198 | 200 |
199 base::RunLoop().RunUntilIdle(); | 201 base::RunLoop().RunUntilIdle(); |
200 } | 202 } |
201 | 203 |
202 } // namespace protocol | 204 } // namespace protocol |
203 } // namespace remoting | 205 } // namespace remoting |
OLD | NEW |