| 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 #ifndef CHROME_COMMON_LOGGING_CHROME_H__ | 5 #ifndef CHROME_COMMON_LOGGING_CHROME_H__ |
| 6 #define CHROME_COMMON_LOGGING_CHROME_H__ | 6 #define CHROME_COMMON_LOGGING_CHROME_H__ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "build/build_config.h" |
| 10 | 11 |
| 11 namespace base { | 12 namespace base { |
| 12 class CommandLine; | 13 class CommandLine; |
| 13 class FilePath; | 14 class FilePath; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace logging { | 17 namespace logging { |
| 17 | 18 |
| 18 // Call to initialize logging for Chrome. This sets up the chrome-specific | 19 // Call to initialize logging for Chrome. This sets up the chrome-specific |
| 19 // logfile naming scheme and might do other things like log modules and | 20 // logfile naming scheme and might do other things like log modules and |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // otherwise. | 53 // otherwise. |
| 53 bool DialogsAreSuppressed(); | 54 bool DialogsAreSuppressed(); |
| 54 | 55 |
| 55 // Inserts timestamp before file extension in the format | 56 // Inserts timestamp before file extension in the format |
| 56 // "_yymmdd-hhmmss". | 57 // "_yymmdd-hhmmss". |
| 57 base::FilePath GenerateTimestampedName(const base::FilePath& base_path, | 58 base::FilePath GenerateTimestampedName(const base::FilePath& base_path, |
| 58 base::Time timestamp); | 59 base::Time timestamp); |
| 59 } // namespace logging | 60 } // namespace logging |
| 60 | 61 |
| 61 #endif // CHROME_COMMON_LOGGING_CHROME_H_ | 62 #endif // CHROME_COMMON_LOGGING_CHROME_H_ |
| OLD | NEW |