OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
| 8 #include "base/callback.h" |
7 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
8 #include "net/socket/stream_socket.h" | 10 #include "net/socket/stream_socket.h" |
9 #include "remoting/base/constants.h" | 11 #include "remoting/base/constants.h" |
10 #include "remoting/proto/control.pb.h" | 12 #include "remoting/proto/control.pb.h" |
11 #include "remoting/proto/internal.pb.h" | 13 #include "remoting/proto/internal.pb.h" |
12 #include "remoting/protocol/buffered_socket_writer.h" | 14 #include "remoting/protocol/buffered_socket_writer.h" |
13 #include "remoting/protocol/client_stub.h" | 15 #include "remoting/protocol/client_stub.h" |
14 | 16 |
15 namespace remoting { | 17 namespace remoting { |
16 namespace protocol { | 18 namespace protocol { |
(...skipping 24 matching lines...) Expand all Loading... |
41 if (message->has_begin_session_deprecated()) { | 43 if (message->has_begin_session_deprecated()) { |
42 // Host sends legacy BeginSession message for compatibility with | 44 // Host sends legacy BeginSession message for compatibility with |
43 // older clients. Ignore it without warning. | 45 // older clients. Ignore it without warning. |
44 } else { | 46 } else { |
45 LOG(WARNING) << "Unknown control message received."; | 47 LOG(WARNING) << "Unknown control message received."; |
46 } | 48 } |
47 } | 49 } |
48 | 50 |
49 } // namespace protocol | 51 } // namespace protocol |
50 } // namespace remoting | 52 } // namespace remoting |
OLD | NEW |