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 "ipc/ipc_logging.h" | 5 #include "ipc/ipc_logging.h" |
6 | 6 |
7 #ifdef IPC_MESSAGE_LOG_ENABLED | 7 #ifdef IPC_MESSAGE_LOG_ENABLED |
8 #define IPC_MESSAGE_MACROS_LOG_ENABLED | 8 #define IPC_MESSAGE_MACROS_LOG_ENABLED |
9 #endif | 9 #endif |
10 | 10 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/location.h" |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
14 #include "base/process_util.h" | 15 #include "base/process_util.h" |
15 #include "base/string_number_conversions.h" | 16 #include "base/string_number_conversions.h" |
16 #include "base/string_util.h" | 17 #include "base/string_util.h" |
17 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
18 #include "base/time.h" | 19 #include "base/time.h" |
19 #include "ipc/ipc_switches.h" | 20 #include "ipc/ipc_switches.h" |
20 #include "ipc/ipc_sync_message.h" | 21 #include "ipc/ipc_sync_message.h" |
21 #include "ipc/ipc_message_utils.h" | 22 #include "ipc/ipc_message_utils.h" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 data->receive = message.received_time(); | 243 data->receive = message.received_time(); |
243 data->dispatch = Time::Now().ToInternalValue(); | 244 data->dispatch = Time::Now().ToInternalValue(); |
244 data->params = params; | 245 data->params = params; |
245 data->message_name = message_name; | 246 data->message_name = message_name; |
246 } | 247 } |
247 } | 248 } |
248 | 249 |
249 } | 250 } |
250 | 251 |
251 #endif // IPC_MESSAGE_LOG_ENABLED | 252 #endif // IPC_MESSAGE_LOG_ENABLED |
OLD | NEW |