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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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: chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc b/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
index 9bbefe19defbc5d3fe743c734705f408e65d3746..dad618fb65fb295da290d787562a07916eeaf542 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/chromeos/file_system_provider/operations/get_metadata.h"
+#include <stdint.h>
+
#include <algorithm>
#include <string>
@@ -38,7 +40,8 @@ bool ConvertRequestValueToFileInfo(scoped_ptr<RequestValue> value,
output->is_directory.reset(new bool(*params->metadata.is_directory));
if (fields & ProvidedFileSystemInterface::METADATA_FIELD_SIZE)
- output->size.reset(new int64(static_cast<int64>(*params->metadata.size)));
+ output->size.reset(
+ new int64_t(static_cast<int64_t>(*params->metadata.size)));
if (fields & ProvidedFileSystemInterface::METADATA_FIELD_MODIFICATION_TIME) {
std::string input_modification_time;

Powered by Google App Engine
This is Rietveld 408576698