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 <stddef.h> |
| 12 #include <stdint.h> |
| 13 |
11 #include "base/bind.h" | 14 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 15 #include "base/bind_helpers.h" |
13 #include "base/command_line.h" | 16 #include "base/command_line.h" |
14 #include "base/location.h" | 17 #include "base/location.h" |
15 #include "base/logging.h" | 18 #include "base/logging.h" |
16 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
17 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
18 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
19 #include "base/thread_task_runner_handle.h" | 22 #include "base/thread_task_runner_handle.h" |
20 #include "base/threading/thread.h" | 23 #include "base/threading/thread.h" |
21 #include "base/time/time.h" | 24 #include "base/time/time.h" |
| 25 #include "build/build_config.h" |
22 #include "ipc/ipc_message_utils.h" | 26 #include "ipc/ipc_message_utils.h" |
23 #include "ipc/ipc_sender.h" | 27 #include "ipc/ipc_sender.h" |
24 #include "ipc/ipc_switches.h" | 28 #include "ipc/ipc_switches.h" |
25 #include "ipc/ipc_sync_message.h" | 29 #include "ipc/ipc_sync_message.h" |
26 | 30 |
27 #if defined(OS_POSIX) | 31 #if defined(OS_POSIX) |
28 #include <unistd.h> | 32 #include <unistd.h> |
29 #endif | 33 #endif |
30 | 34 |
31 #ifdef IPC_MESSAGE_LOG_ENABLED | 35 #ifdef IPC_MESSAGE_LOG_ENABLED |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 data->receive = message.received_time(); | 310 data->receive = message.received_time(); |
307 data->dispatch = Time::Now().ToInternalValue(); | 311 data->dispatch = Time::Now().ToInternalValue(); |
308 data->params = params; | 312 data->params = params; |
309 data->message_name = message_name; | 313 data->message_name = message_name; |
310 } | 314 } |
311 } | 315 } |
312 | 316 |
313 } | 317 } |
314 | 318 |
315 #endif // IPC_MESSAGE_LOG_ENABLED | 319 #endif // IPC_MESSAGE_LOG_ENABLED |
OLD | NEW |