| 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> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 | 12 |
| 13 class CommandLine; | 13 class CommandLine; |
| 14 class FilePath; |
| 14 | 15 |
| 15 namespace installer { | 16 namespace installer { |
| 16 | 17 |
| 17 // Call to initialize logging for Chrome installer. | 18 // Call to initialize logging for Chrome installer. |
| 18 void InitInstallerLogging(const CommandLine& command_line); | 19 void InitInstallerLogging(const CommandLine& command_line); |
| 19 | 20 |
| 20 // Call when done using logging for Chrome installer. | 21 // Call when done using logging for Chrome installer. |
| 21 void EndInstallerLogging(); | 22 void EndInstallerLogging(); |
| 22 | 23 |
| 23 // Returns the full path of the log file. | 24 // Returns the full path of the log file. |
| 24 std::wstring GetLogFilePath(const CommandLine& command_line); | 25 FilePath GetLogFilePath(const CommandLine& command_line); |
| 25 | 26 |
| 26 } // namespace installer | 27 } // namespace installer |
| 27 | 28 |
| 28 #endif // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ | 29 #endif // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ |
| OLD | NEW |