| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 | 6 |
| 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. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include <fstream> | 29 #include <fstream> |
| 30 | 30 |
| 31 #include "chrome/common/logging_chrome.h" | 31 #include "chrome/common/logging_chrome.h" |
| 32 | 32 |
| 33 #include "base/command_line.h" | 33 #include "base/command_line.h" |
| 34 #include "base/compiler_specific.h" | 34 #include "base/compiler_specific.h" |
| 35 #include "base/debug/debugger.h" | 35 #include "base/debug/debugger.h" |
| 36 #include "base/debug/dump_without_crashing.h" | 36 #include "base/debug/dump_without_crashing.h" |
| 37 #include "base/environment.h" | 37 #include "base/environment.h" |
| 38 #include "base/file_util.h" | |
| 39 #include "base/files/file_path.h" | 38 #include "base/files/file_path.h" |
| 39 #include "base/files/file_util.h" |
| 40 #include "base/logging.h" | 40 #include "base/logging.h" |
| 41 #include "base/path_service.h" | 41 #include "base/path_service.h" |
| 42 #include "base/strings/string_number_conversions.h" | 42 #include "base/strings/string_number_conversions.h" |
| 43 #include "base/strings/string_util.h" | 43 #include "base/strings/string_util.h" |
| 44 #include "base/strings/stringprintf.h" | 44 #include "base/strings/stringprintf.h" |
| 45 #include "base/strings/utf_string_conversions.h" | 45 #include "base/strings/utf_string_conversions.h" |
| 46 #include "base/threading/thread_restrictions.h" | 46 #include "base/threading/thread_restrictions.h" |
| 47 #include "base/time/time.h" | 47 #include "base/time/time.h" |
| 48 #include "chrome/common/chrome_constants.h" | 48 #include "chrome/common/chrome_constants.h" |
| 49 #include "chrome/common/chrome_paths.h" | 49 #include "chrome/common/chrome_paths.h" |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 time_deets.year, | 428 time_deets.year, |
| 429 time_deets.month, | 429 time_deets.month, |
| 430 time_deets.day_of_month, | 430 time_deets.day_of_month, |
| 431 time_deets.hour, | 431 time_deets.hour, |
| 432 time_deets.minute, | 432 time_deets.minute, |
| 433 time_deets.second); | 433 time_deets.second); |
| 434 return base_path.InsertBeforeExtensionASCII(suffix); | 434 return base_path.InsertBeforeExtensionASCII(suffix); |
| 435 } | 435 } |
| 436 | 436 |
| 437 } // namespace logging | 437 } // namespace logging |
| OLD | NEW |