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 "base/message_loop_proxy.h" | 6 #include "base/message_loop/message_loop_proxy.h" |
7 #include "remoting/host/host_status_monitor_fake.h" | 7 #include "remoting/host/host_status_monitor_fake.h" |
8 #include "remoting/host/log_to_server.h" | 8 #include "remoting/host/log_to_server.h" |
9 #include "remoting/jingle_glue/mock_objects.h" | 9 #include "remoting/jingle_glue/mock_objects.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
11 #include "testing/gmock_mutant.h" | 11 #include "testing/gmock_mutant.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | 13 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" |
14 | 14 |
15 using buzz::XmlElement; | 15 using buzz::XmlElement; |
16 using buzz::QName; | 16 using buzz::QName; |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 route2.type = protocol::TransportRoute::STUN; | 247 route2.type = protocol::TransportRoute::STUN; |
248 log_to_server_->OnClientRouteChange(kClientJid2, "video", route2); | 248 log_to_server_->OnClientRouteChange(kClientJid2, "video", route2); |
249 log_to_server_->OnClientDisconnected(kClientJid1); | 249 log_to_server_->OnClientDisconnected(kClientJid1); |
250 log_to_server_->OnClientAuthenticated(kClientJid2); | 250 log_to_server_->OnClientAuthenticated(kClientJid2); |
251 log_to_server_->OnClientConnected(kClientJid2); | 251 log_to_server_->OnClientConnected(kClientJid2); |
252 log_to_server_->OnSignalStrategyStateChange(SignalStrategy::DISCONNECTED); | 252 log_to_server_->OnSignalStrategyStateChange(SignalStrategy::DISCONNECTED); |
253 message_loop_.Run(); | 253 message_loop_.Run(); |
254 } | 254 } |
255 | 255 |
256 } // namespace remoting | 256 } // namespace remoting |
OLD | NEW |