Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5834)

Unified Diff: chrome/installer/util/logging_installer.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/installer_util_test_common.h ('k') | chrome/installer/util/lzma_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/logging_installer.h
diff --git a/chrome/installer/util/logging_installer.h b/chrome/installer/util/logging_installer.h
index c7ccb4650cf108810709f3d4ff66d38cec33ae0d..42153ba4b83cc8e2b612d223eae08dec245fc831 100644
--- a/chrome/installer/util/logging_installer.h
+++ b/chrome/installer/util/logging_installer.h
@@ -7,14 +7,14 @@
#include "base/basictypes.h"
-namespace installer {
- class MasterPreferences;
-}
-
+namespace base {
class FilePath;
+}
namespace installer {
+class MasterPreferences;
+
// Verbose installer runs clock in at around 50K, non-verbose much less than
// that. Some installer operations span multiple setup.exe runs, so we try
// to keep enough for at least 10 runs or so at any given time.
@@ -41,7 +41,7 @@ enum TruncateResult {
// If the file needed truncation, but the truncation failed, the file will be
// deleted and the function returns LOGFILE_DELETED. This is done to prevent
// run-away log files and guard against full disks.
-TruncateResult TruncateLogFileIfNeeded(const FilePath& log_file);
+TruncateResult TruncateLogFileIfNeeded(const base::FilePath& log_file);
// Call to initialize logging for Chrome installer.
void InitInstallerLogging(const installer::MasterPreferences& prefs);
@@ -50,7 +50,7 @@ void InitInstallerLogging(const installer::MasterPreferences& prefs);
void EndInstallerLogging();
// Returns the full path of the log file.
-FilePath GetLogFilePath(const installer::MasterPreferences& prefs);
+base::FilePath GetLogFilePath(const installer::MasterPreferences& prefs);
} // namespace installer
« no previous file with comments | « chrome/installer/util/installer_util_test_common.h ('k') | chrome/installer/util/lzma_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698