| 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_client.h" | 5 #include "remoting/protocol/webrtc_connection_to_client.h" |
| 6 | 6 |
| 7 #include <utility> |
| 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/location.h" | 10 #include "base/location.h" |
| 9 #include "net/base/io_buffer.h" | 11 #include "net/base/io_buffer.h" |
| 10 #include "remoting/codec/video_encoder.h" | 12 #include "remoting/codec/video_encoder.h" |
| 11 #include "remoting/codec/video_encoder_verbatim.h" | 13 #include "remoting/codec/video_encoder_verbatim.h" |
| 12 #include "remoting/codec/video_encoder_vpx.h" | 14 #include "remoting/codec/video_encoder_vpx.h" |
| 13 #include "remoting/protocol/audio_writer.h" | 15 #include "remoting/protocol/audio_writer.h" |
| 14 #include "remoting/protocol/clipboard_stub.h" | 16 #include "remoting/protocol/clipboard_stub.h" |
| 15 #include "remoting/protocol/host_control_dispatcher.h" | 17 #include "remoting/protocol/host_control_dispatcher.h" |
| 16 #include "remoting/protocol/host_event_dispatcher.h" | 18 #include "remoting/protocol/host_event_dispatcher.h" |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 ErrorCode error) { | 190 ErrorCode error) { |
| 189 DCHECK(thread_checker_.CalledOnValidThread()); | 191 DCHECK(thread_checker_.CalledOnValidThread()); |
| 190 | 192 |
| 191 LOG(ERROR) << "Failed to connect channel " | 193 LOG(ERROR) << "Failed to connect channel " |
| 192 << channel_dispatcher->channel_name(); | 194 << channel_dispatcher->channel_name(); |
| 193 session_->Close(CHANNEL_CONNECTION_ERROR); | 195 session_->Close(CHANNEL_CONNECTION_ERROR); |
| 194 } | 196 } |
| 195 | 197 |
| 196 } // namespace protocol | 198 } // namespace protocol |
| 197 } // namespace remoting | 199 } // namespace remoting |
| OLD | NEW |