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

Unified Diff: components/drive/file_system/copy_operation.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
Index: components/drive/file_system/copy_operation.cc
diff --git a/components/drive/file_system/copy_operation.cc b/components/drive/file_system/copy_operation.cc
index 595e8e1b1f6a238c0d202514b5a8f1af4abc1dc8..56f8021a34e965decec24e7cc6c8d47cadf8b238 100644
--- a/components/drive/file_system/copy_operation.cc
+++ b/components/drive/file_system/copy_operation.cc
@@ -4,6 +4,8 @@
#include "components/drive/file_system/copy_operation.h"
+#include <stdint.h>
+
#include <string>
#include "base/task_runner_util.h"
@@ -122,7 +124,7 @@ FileError TryToCopyLocally(internal::ResourceMetadata* metadata,
// Copy locally.
ResourceEntry entry;
- const int64 now = base::Time::Now().ToInternalValue();
+ const int64_t now = base::Time::Now().ToInternalValue();
entry.set_title(params->dest_file_path.BaseName().AsUTF8Unsafe());
entry.set_parent_local_id(params->parent_entry.local_id());
entry.mutable_file_specific_info()->set_content_mime_type(
« no previous file with comments | « components/drive/file_system/copy_operation.h ('k') | components/drive/file_system/create_directory_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698