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