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

Unified Diff: components/drive/drive_api_util.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/drive/directory_loader_unittest.cc ('k') | components/drive/drive_app_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « components/drive/directory_loader_unittest.cc ('k') | components/drive/drive_app_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698