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

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

Issue 102873002: Move GetFileSize, NormalizeFilePath to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/installer/util/logging_installer.cc
diff --git a/chrome/installer/util/logging_installer.cc b/chrome/installer/util/logging_installer.cc
index 15b3d7282d438bcdc053c807c20c41aa4e9939ff..3ac60b365246e2af737583975e92a7e2eb5db1c3 100644
--- a/chrome/installer/util/logging_installer.cc
+++ b/chrome/installer/util/logging_installer.cc
@@ -34,7 +34,7 @@ TruncateResult TruncateLogFileIfNeeded(const base::FilePath& log_file) {
TruncateResult result = LOGFILE_UNTOUCHED;
int64 log_size = 0;
- if (file_util::GetFileSize(log_file, &log_size) &&
+ if (base::GetFileSize(log_file, &log_size) &&
log_size > kMaxInstallerLogFileSize) {
// Cause the old log file to be deleted when we are done with it.
const int file_flags = base::PLATFORM_FILE_OPEN |
« no previous file with comments | « chrome/installer/tools/validate_installation_main.cc ('k') | chrome/installer/util/logging_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698