Index: base/files/file_util.cc |
diff --git a/base/files/file_util.cc b/base/files/file_util.cc |
index 4b6b8886d8ad5d8bc0fd4855b10c97db52420d2e..9e35b671db8021ceda7b471a4024f6087c076555 100644 |
--- a/base/files/file_util.cc |
+++ b/base/files/file_util.cc |
@@ -19,6 +19,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "build/build_config.h" |
namespace base { |
@@ -34,8 +35,8 @@ static const int kMaxUniqueFiles = 100; |
} // namespace |
-int64 ComputeDirectorySize(const FilePath& root_path) { |
- int64 running_size = 0; |
+int64_t ComputeDirectorySize(const FilePath& root_path) { |
+ int64_t running_size = 0; |
FileEnumerator file_iter(root_path, true, FileEnumerator::FILES); |
while (!file_iter.Next().empty()) |
running_size += file_iter.GetInfo().GetSize(); |
@@ -185,7 +186,7 @@ bool CreateDirectory(const FilePath& full_path) { |
return CreateDirectoryAndGetError(full_path, NULL); |
} |
-bool GetFileSize(const FilePath& file_path, int64* file_size) { |
+bool GetFileSize(const FilePath& file_path, int64_t* file_size) { |
File::Info info; |
if (!GetFileInfo(file_path, &info)) |
return false; |