OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/remoting/chromoting_host_info.h" | |
6 #include "ipc/ipc_channel_handle.h" | |
7 | |
8 #define IPC_MESSAGE_IMPL | |
9 #include "chrome/common/service_messages.h" | 5 #include "chrome/common/service_messages.h" |
10 | 6 |
11 namespace IPC { | 7 namespace IPC { |
12 | 8 |
13 void ParamTraits<remoting::ChromotingHostInfo> ::Write( | 9 void ParamTraits<remoting::ChromotingHostInfo> ::Write( |
14 Message* m, const param_type& p) { | 10 Message* m, const param_type& p) { |
15 WriteParam(m, p.host_id); | 11 WriteParam(m, p.host_id); |
16 WriteParam(m, p.hostname); | 12 WriteParam(m, p.hostname); |
17 WriteParam(m, p.public_key); | 13 WriteParam(m, p.public_key); |
18 WriteParam(m, p.enabled); | 14 WriteParam(m, p.enabled); |
(...skipping 19 matching lines...) Expand all Loading... |
38 l->append(", "); | 34 l->append(", "); |
39 LogParam(p.public_key, l); | 35 LogParam(p.public_key, l); |
40 l->append(", "); | 36 l->append(", "); |
41 LogParam(p.enabled, l); | 37 LogParam(p.enabled, l); |
42 l->append(", "); | 38 l->append(", "); |
43 LogParam(p.login, l); | 39 LogParam(p.login, l); |
44 l->append(")"); | 40 l->append(")"); |
45 } | 41 } |
46 | 42 |
47 } // namespace IPC | 43 } // namespace IPC |
OLD | NEW |