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

Unified Diff: content/browser/fileapi/file_system_dir_url_request_job_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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: 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>");

Powered by Google App Engine
This is Rietveld 408576698