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/webrtc_connection_to_host.h" | 5 #include "remoting/protocol/webrtc_connection_to_host.h" |
6 | 6 |
| 7 #include <utility> |
| 8 |
7 #include "remoting/protocol/client_control_dispatcher.h" | 9 #include "remoting/protocol/client_control_dispatcher.h" |
8 #include "remoting/protocol/client_event_dispatcher.h" | 10 #include "remoting/protocol/client_event_dispatcher.h" |
9 #include "remoting/protocol/client_stub.h" | 11 #include "remoting/protocol/client_stub.h" |
10 #include "remoting/protocol/clipboard_stub.h" | 12 #include "remoting/protocol/clipboard_stub.h" |
11 #include "remoting/protocol/webrtc_transport.h" | 13 #include "remoting/protocol/webrtc_transport.h" |
12 | 14 |
13 namespace remoting { | 15 namespace remoting { |
14 namespace protocol { | 16 namespace protocol { |
15 | 17 |
16 WebrtcConnectionToHost::WebrtcConnectionToHost() {} | 18 WebrtcConnectionToHost::WebrtcConnectionToHost() {} |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 147 |
146 if (state != state_) { | 148 if (state != state_) { |
147 state_ = state; | 149 state_ = state; |
148 error_ = error; | 150 error_ = error; |
149 event_callback_->OnConnectionState(state_, error_); | 151 event_callback_->OnConnectionState(state_, error_); |
150 } | 152 } |
151 } | 153 } |
152 | 154 |
153 } // namespace protocol | 155 } // namespace protocol |
154 } // namespace remoting | 156 } // namespace remoting |
OLD | NEW |