| 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 "remoting/protocol/ice_connection_to_host.h" | 5 #include "remoting/protocol/ice_connection_to_host.h" |
| 6 | 6 |
| 7 #include <utility> |
| 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/callback.h" | 10 #include "base/callback.h" |
| 9 #include "base/location.h" | 11 #include "base/location.h" |
| 10 #include "remoting/base/constants.h" | 12 #include "remoting/base/constants.h" |
| 11 #include "remoting/protocol/audio_reader.h" | 13 #include "remoting/protocol/audio_reader.h" |
| 12 #include "remoting/protocol/audio_stub.h" | 14 #include "remoting/protocol/audio_stub.h" |
| 13 #include "remoting/protocol/auth_util.h" | 15 #include "remoting/protocol/auth_util.h" |
| 14 #include "remoting/protocol/client_control_dispatcher.h" | 16 #include "remoting/protocol/client_control_dispatcher.h" |
| 15 #include "remoting/protocol/client_event_dispatcher.h" | 17 #include "remoting/protocol/client_event_dispatcher.h" |
| 16 #include "remoting/protocol/client_stub.h" | 18 #include "remoting/protocol/client_stub.h" |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 | 211 |
| 210 if (state != state_) { | 212 if (state != state_) { |
| 211 state_ = state; | 213 state_ = state; |
| 212 error_ = error; | 214 error_ = error; |
| 213 event_callback_->OnConnectionState(state_, error_); | 215 event_callback_->OnConnectionState(state_, error_); |
| 214 } | 216 } |
| 215 } | 217 } |
| 216 | 218 |
| 217 } // namespace protocol | 219 } // namespace protocol |
| 218 } // namespace remoting | 220 } // namespace remoting |
| OLD | NEW |