Chromium Code Reviews| 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 "base/memory/scoped_ptr.h" | |
|
danakj
2016/04/02 01:02:16
The header should go down with the rest around l35
dcheng
2016/04/02 01:11:43
Ahhh this file is a mess. Fixed.
| |
| 5 #include "build/build_config.h" | 6 #include "build/build_config.h" |
| 6 | |
|
dcheng
2016/04/02 00:36:26
I'll restore this newline, just noticed the script
dcheng
2016/04/02 00:54:06
Restored, PTAL.
| |
| 7 // Need to include this before most other files because it defines | 7 // Need to include this before most other files because it defines |
| 8 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define | 8 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define |
| 9 // IPC_MESSAGE_MACROS_LOG_ENABLED so render_messages.h will generate the | 9 // IPC_MESSAGE_MACROS_LOG_ENABLED so render_messages.h will generate the |
| 10 // ViewMsgLog et al. functions. | 10 // ViewMsgLog et al. functions. |
| 11 #include "ipc/ipc_message.h" | 11 #include "ipc/ipc_message.h" |
| 12 | 12 |
| 13 // On Windows, the about:ipc dialog shows IPCs; on POSIX, we hook up a | 13 // On Windows, the about:ipc dialog shows IPCs; on POSIX, we hook up a |
| 14 // logger in this file. (We implement about:ipc on Mac but implement | 14 // logger in this file. (We implement about:ipc on Mac but implement |
| 15 // the loggers here anyway). We need to do this real early to be sure | 15 // the loggers here anyway). We need to do this real early to be sure |
| 16 // IPC_MESSAGE_MACROS_LOG_ENABLED doesn't get undefined. | 16 // IPC_MESSAGE_MACROS_LOG_ENABLED doesn't get undefined. |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 406 time_deets.year, | 406 time_deets.year, |
| 407 time_deets.month, | 407 time_deets.month, |
| 408 time_deets.day_of_month, | 408 time_deets.day_of_month, |
| 409 time_deets.hour, | 409 time_deets.hour, |
| 410 time_deets.minute, | 410 time_deets.minute, |
| 411 time_deets.second); | 411 time_deets.second); |
| 412 return base_path.InsertBeforeExtensionASCII(suffix); | 412 return base_path.InsertBeforeExtensionASCII(suffix); |
| 413 } | 413 } |
| 414 | 414 |
| 415 } // namespace logging | 415 } // namespace logging |
| OLD | NEW |