Index: components/drive/file_system/truncate_operation.h |
diff --git a/components/drive/file_system/truncate_operation.h b/components/drive/file_system/truncate_operation.h |
index ff22806e479d526a5e3fbc840b5380dbbe9e90dd..42544a69dd40a8f0e32f3e9779b3ad5aedb7bc39 100644 |
--- a/components/drive/file_system/truncate_operation.h |
+++ b/components/drive/file_system/truncate_operation.h |
@@ -5,7 +5,9 @@ |
#ifndef COMPONENTS_DRIVE_FILE_SYSTEM_TRUNCATE_OPERATION_H_ |
#define COMPONENTS_DRIVE_FILE_SYSTEM_TRUNCATE_OPERATION_H_ |
-#include "base/basictypes.h" |
+#include <stdint.h> |
+ |
+#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
@@ -50,12 +52,13 @@ class TruncateOperation { |
// |length| bytes. Invokes |callback| when finished with the result of the |
// operation. |callback| must not be null. |
void Truncate(const base::FilePath& file_path, |
- int64 length, |
+ int64_t length, |
const FileOperationCallback& callback); |
+ |
private: |
// Part of Truncate(). Called after EnsureFileDownloadedByPath() is complete. |
void TruncateAfterEnsureFileDownloadedByPath( |
- int64 length, |
+ int64_t length, |
const FileOperationCallback& callback, |
FileError error, |
const base::FilePath& local_file_path, |