Index: components/drive/drive_api_util.cc |
diff --git a/components/drive/drive_api_util.cc b/components/drive/drive_api_util.cc |
index e738364e9cdb93dbea39182d86f8655f17689379..2836bd6cc4af0de5e461140b824bc6e7efe6ca49 100644 |
--- a/components/drive/drive_api_util.cc |
+++ b/components/drive/drive_api_util.cc |
@@ -4,10 +4,14 @@ |
#include "components/drive/drive_api_util.h" |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <string> |
#include "base/files/file.h" |
#include "base/logging.h" |
+#include "base/macros.h" |
#include "base/md5.h" |
#include "base/strings/string16.h" |
#include "base/strings/string_util.h" |
@@ -143,7 +147,7 @@ std::string GetMd5Digest(const base::FilePath& file_path, |
base::MD5Context context; |
base::MD5Init(&context); |
- int64 offset = 0; |
+ int64_t offset = 0; |
scoped_ptr<char[]> buffer(new char[kMd5DigestBufferSize]); |
while (true) { |
if (cancellation_flag && cancellation_flag->IsSet()) { // Cancelled. |