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

Unified Diff: chrome/utility/media_galleries/iapps_xml_utils.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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/utility/media_galleries/iapps_xml_utils.cc
diff --git a/chrome/utility/media_galleries/iapps_xml_utils.cc b/chrome/utility/media_galleries/iapps_xml_utils.cc
index aed0ae92406b8cc6470990f7b104a12f3e275cd2..bb42f39027edee0d4feaacd4eeca7b2395323605 100644
--- a/chrome/utility/media_galleries/iapps_xml_utils.cc
+++ b/chrome/utility/media_galleries/iapps_xml_utils.cc
@@ -70,7 +70,7 @@ bool ReadString(XmlReader* reader, std::string* result) {
return ReadSimpleValue(reader, "string", result);
}
-bool ReadInteger(XmlReader* reader, uint64* result) {
+bool ReadInteger(XmlReader* reader, uint64_t* result) {
std::string value;
if (!ReadSimpleValue(reader, "integer", &value))
return false;
@@ -84,7 +84,7 @@ std::string ReadFileAsString(base::File file) {
// A "reasonable" artificial limit.
// TODO(vandebo): Add a UMA to figure out what common values are.
- const int64 kMaxLibraryFileSize = 150 * 1024 * 1024;
+ const int64_t kMaxLibraryFileSize = 150 * 1024 * 1024;
base::File::Info file_info;
if (!file.GetInfo(&file_info) || file_info.size > kMaxLibraryFileSize)
return result;
« no previous file with comments | « chrome/utility/media_galleries/iapps_xml_utils.h ('k') | chrome/utility/media_galleries/image_metadata_extractor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698