OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 namespace installer_util { | 9 namespace installer { |
10 class MasterPreferences; | 10 class MasterPreferences; |
11 } | 11 } |
12 | 12 |
13 class FilePath; | 13 class FilePath; |
14 | 14 |
15 namespace installer { | 15 namespace installer { |
16 | 16 |
17 // Call to initialize logging for Chrome installer. | 17 // Call to initialize logging for Chrome installer. |
18 void InitInstallerLogging(const installer_util::MasterPreferences& prefs); | 18 void InitInstallerLogging(const installer::MasterPreferences& prefs); |
19 | 19 |
20 // Call when done using logging for Chrome installer. | 20 // Call when done using logging for Chrome installer. |
21 void EndInstallerLogging(); | 21 void EndInstallerLogging(); |
22 | 22 |
23 // Returns the full path of the log file. | 23 // Returns the full path of the log file. |
24 FilePath GetLogFilePath(const installer_util::MasterPreferences& prefs); | 24 FilePath GetLogFilePath(const installer::MasterPreferences& prefs); |
25 | 25 |
26 } // namespace installer | 26 } // namespace installer |
27 | 27 |
28 #endif // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ | 28 #endif // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_ |
OLD | NEW |