| Index: content/browser/fileapi/file_system_operation_impl_write_unittest.cc
|
| diff --git a/content/browser/fileapi/file_system_operation_impl_write_unittest.cc b/content/browser/fileapi/file_system_operation_impl_write_unittest.cc
|
| index 76879f4d28b1ed7c6d36aba5f05d3b40f3aa2682..b6e07e8706ebced84b995edd623c506fc779590a 100644
|
| --- a/content/browser/fileapi/file_system_operation_impl_write_unittest.cc
|
| +++ b/content/browser/fileapi/file_system_operation_impl_write_unittest.cc
|
| @@ -2,9 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <vector>
|
|
|
| #include "base/files/scoped_temp_dir.h"
|
| +#include "base/macros.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/run_loop.h"
|
| @@ -94,12 +97,12 @@ class FileSystemOperationImplWriteTest
|
|
|
| base::File::Error status() const { return status_; }
|
| base::File::Error cancel_status() const { return cancel_status_; }
|
| - void add_bytes_written(int64 bytes, bool complete) {
|
| + void add_bytes_written(int64_t bytes, bool complete) {
|
| bytes_written_ += bytes;
|
| EXPECT_FALSE(complete_);
|
| complete_ = complete;
|
| }
|
| - int64 bytes_written() const { return bytes_written_; }
|
| + int64_t bytes_written() const { return bytes_written_; }
|
| bool complete() const { return complete_; }
|
|
|
| protected:
|
| @@ -127,7 +130,7 @@ class FileSystemOperationImplWriteTest
|
| weak_factory_.GetWeakPtr());
|
| }
|
|
|
| - void DidWrite(base::File::Error status, int64 bytes, bool complete) {
|
| + void DidWrite(base::File::Error status, int64_t bytes, bool complete) {
|
| if (status == base::File::FILE_OK) {
|
| add_bytes_written(bytes, complete);
|
| if (complete)
|
| @@ -161,7 +164,7 @@ class FileSystemOperationImplWriteTest
|
| // For post-operation status.
|
| base::File::Error status_;
|
| base::File::Error cancel_status_;
|
| - int64 bytes_written_;
|
| + int64_t bytes_written_;
|
| bool complete_;
|
|
|
| scoped_ptr<MockBlobURLRequestContext> url_request_context_;
|
|
|