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_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/bind.h" | 11 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
17 #include "base/process_util.h" | |
18 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
19 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
20 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
21 #include "base/time/time.h" | 20 #include "base/time/time.h" |
22 #include "ipc/ipc_message_utils.h" | 21 #include "ipc/ipc_message_utils.h" |
23 #include "ipc/ipc_sender.h" | 22 #include "ipc/ipc_sender.h" |
24 #include "ipc/ipc_switches.h" | 23 #include "ipc/ipc_switches.h" |
25 #include "ipc/ipc_sync_message.h" | 24 #include "ipc/ipc_sync_message.h" |
26 | 25 |
27 #if defined(OS_POSIX) | 26 #if defined(OS_POSIX) |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 data->receive = message.received_time(); | 306 data->receive = message.received_time(); |
308 data->dispatch = Time::Now().ToInternalValue(); | 307 data->dispatch = Time::Now().ToInternalValue(); |
309 data->params = params; | 308 data->params = params; |
310 data->message_name = message_name; | 309 data->message_name = message_name; |
311 } | 310 } |
312 } | 311 } |
313 | 312 |
314 } | 313 } |
315 | 314 |
316 #endif // IPC_MESSAGE_LOG_ENABLED | 315 #endif // IPC_MESSAGE_LOG_ENABLED |
OLD | NEW |