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 "ipc/ipc_message_utils.h" | 5 #include "ipc/ipc_message_utils.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 // ----------------------------------------------------------------------------- | 323 // ----------------------------------------------------------------------------- |
324 | 324 |
325 LogData::LogData() | 325 LogData::LogData() |
326 : routing_id(0), | 326 : routing_id(0), |
327 type(0), | 327 type(0), |
328 sent(0), | 328 sent(0), |
329 receive(0), | 329 receive(0), |
330 dispatch(0) { | 330 dispatch(0) { |
331 } | 331 } |
332 | 332 |
| 333 LogData::LogData(const LogData& other) = default; |
| 334 |
333 LogData::~LogData() { | 335 LogData::~LogData() { |
334 } | 336 } |
335 | 337 |
336 void ParamTraits<bool>::Log(const param_type& p, std::string* l) { | 338 void ParamTraits<bool>::Log(const param_type& p, std::string* l) { |
337 l->append(p ? "true" : "false"); | 339 l->append(p ? "true" : "false"); |
338 } | 340 } |
339 | 341 |
340 void ParamTraits<signed char>::GetSize(base::PickleSizer* sizer, | 342 void ParamTraits<signed char>::GetSize(base::PickleSizer* sizer, |
341 const param_type& p) { | 343 const param_type& p) { |
342 sizer->AddBytes(sizeof(param_type)); | 344 sizer->AddBytes(sizeof(param_type)); |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1216 return result; | 1218 return result; |
1217 } | 1219 } |
1218 | 1220 |
1219 void ParamTraits<MSG>::Log(const param_type& p, std::string* l) { | 1221 void ParamTraits<MSG>::Log(const param_type& p, std::string* l) { |
1220 l->append("<MSG>"); | 1222 l->append("<MSG>"); |
1221 } | 1223 } |
1222 | 1224 |
1223 #endif // OS_WIN | 1225 #endif // OS_WIN |
1224 | 1226 |
1225 } // namespace IPC | 1227 } // namespace IPC |
OLD | NEW |