OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "remoting/protocol/connection_to_client.h" | 5 #include "remoting/protocol/connection_to_client.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
10 #include "google/protobuf/message.h" | |
11 #include "net/base/io_buffer.h" | 10 #include "net/base/io_buffer.h" |
12 #include "remoting/protocol/clipboard_stub.h" | 11 #include "remoting/protocol/clipboard_stub.h" |
13 #include "remoting/protocol/host_control_dispatcher.h" | 12 #include "remoting/protocol/host_control_dispatcher.h" |
14 #include "remoting/protocol/host_event_dispatcher.h" | 13 #include "remoting/protocol/host_event_dispatcher.h" |
15 #include "remoting/protocol/host_stub.h" | 14 #include "remoting/protocol/host_stub.h" |
16 #include "remoting/protocol/input_stub.h" | 15 #include "remoting/protocol/input_stub.h" |
17 | 16 |
18 namespace remoting { | 17 namespace remoting { |
19 namespace protocol { | 18 namespace protocol { |
20 | 19 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 199 |
201 void ConnectionToClient::CloseChannels() { | 200 void ConnectionToClient::CloseChannels() { |
202 control_dispatcher_.reset(); | 201 control_dispatcher_.reset(); |
203 event_dispatcher_.reset(); | 202 event_dispatcher_.reset(); |
204 video_writer_.reset(); | 203 video_writer_.reset(); |
205 audio_writer_.reset(); | 204 audio_writer_.reset(); |
206 } | 205 } |
207 | 206 |
208 } // namespace protocol | 207 } // namespace protocol |
209 } // namespace remoting | 208 } // namespace remoting |
OLD | NEW |