Index: content/browser/fileapi/file_system_dir_url_request_job_unittest.cc |
diff --git a/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc b/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc |
index 754f323ba1b55630a9bc671247cf4087f133d62e..1cce5e72113044af12dd7e315ee1c248c2376244 100644 |
--- a/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc |
+++ b/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "storage/browser/fileapi/file_system_dir_url_request_job.h" |
+#include <stdint.h> |
+ |
#include <string> |
#include "base/files/file_path.h" |
@@ -17,6 +19,7 @@ |
#include "base/strings/string_piece.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/thread_task_runner_handle.h" |
+#include "build/build_config.h" |
#include "content/public/test/mock_special_storage_policy.h" |
#include "content/public/test/test_file_system_backend.h" |
#include "content/public/test/test_file_system_context.h" |
@@ -228,7 +231,7 @@ class FileSystemDirURLRequestJobTest : public testing::Test { |
context.get(), CreateURL(path), NULL)); |
} |
- void TruncateFile(const base::StringPiece file_name, int64 length) { |
+ void TruncateFile(const base::StringPiece file_name, int64_t length) { |
base::FilePath path = base::FilePath().AppendASCII(file_name); |
scoped_ptr<FileSystemOperationContext> context(NewOperationContext()); |
ASSERT_EQ(base::File::FILE_OK, file_util()->Truncate( |
@@ -249,7 +252,7 @@ class FileSystemDirURLRequestJobTest : public testing::Test { |
const std::string& name, |
const std::string& url, |
bool is_directory, |
- int64 size) { |
+ int64_t size) { |
#define STR "([^\"]*)" |
icu::UnicodeString pattern("^<script>addRow\\(\"" STR "\",\"" STR |
"\",(0|1),\"" STR "\",\"" STR "\"\\);</script>"); |