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 "remoting/protocol/client_control_dispatcher.h" | 5 #include "remoting/protocol/client_control_dispatcher.h" |
6 | 6 |
7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/callback_helpers.h" | 9 #include "base/callback_helpers.h" |
10 #include "base/message_loop/message_loop_proxy.h" | |
11 #include "net/socket/stream_socket.h" | 10 #include "net/socket/stream_socket.h" |
12 #include "remoting/base/constants.h" | 11 #include "remoting/base/constants.h" |
13 #include "remoting/proto/control.pb.h" | 12 #include "remoting/proto/control.pb.h" |
14 #include "remoting/proto/internal.pb.h" | 13 #include "remoting/proto/internal.pb.h" |
15 #include "remoting/protocol/client_stub.h" | 14 #include "remoting/protocol/client_stub.h" |
16 #include "remoting/protocol/message_serialization.h" | 15 #include "remoting/protocol/message_serialization.h" |
17 | 16 |
18 namespace remoting { | 17 namespace remoting { |
19 namespace protocol { | 18 namespace protocol { |
20 | 19 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 client_stub_->SetPairingResponse(message->pairing_response()); | 134 client_stub_->SetPairingResponse(message->pairing_response()); |
136 } else if (message->has_extension_message()) { | 135 } else if (message->has_extension_message()) { |
137 client_stub_->DeliverHostMessage(message->extension_message()); | 136 client_stub_->DeliverHostMessage(message->extension_message()); |
138 } else { | 137 } else { |
139 LOG(WARNING) << "Unknown control message received."; | 138 LOG(WARNING) << "Unknown control message received."; |
140 } | 139 } |
141 } | 140 } |
142 | 141 |
143 } // namespace protocol | 142 } // namespace protocol |
144 } // namespace remoting | 143 } // namespace remoting |
OLD | NEW |