| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_INSTALLER_UTIL_LOGGING_INSTALLER_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ |
| 6 #define CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ | 6 #define CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/logging.h" | 9 #include "base/logging.h" |
| 12 | 10 |
| 13 class CommandLine; | 11 class CommandLine; |
| 14 class FilePath; | 12 class FilePath; |
| 15 | 13 |
| 16 namespace installer { | 14 namespace installer { |
| 17 | 15 |
| 18 // Call to initialize logging for Chrome installer. | 16 // Call to initialize logging for Chrome installer. |
| 19 void InitInstallerLogging(const CommandLine& command_line); | 17 void InitInstallerLogging(const CommandLine& command_line); |
| 20 | 18 |
| 21 // Call when done using logging for Chrome installer. | 19 // Call when done using logging for Chrome installer. |
| 22 void EndInstallerLogging(); | 20 void EndInstallerLogging(); |
| 23 | 21 |
| 24 // Returns the full path of the log file. | 22 // Returns the full path of the log file. |
| 25 FilePath GetLogFilePath(const CommandLine& command_line); | 23 FilePath GetLogFilePath(const CommandLine& command_line); |
| 26 | 24 |
| 27 } // namespace installer | 25 } // namespace installer |
| 28 | 26 |
| 29 #endif // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ | 27 #endif // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ |
| OLD | NEW |