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

Unified Diff: content/child/ftp_directory_listing_response_delegate.cc

Issue 1544273002: Switch to standard integer types in content/. (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: content/child/ftp_directory_listing_response_delegate.cc
diff --git a/content/child/ftp_directory_listing_response_delegate.cc b/content/child/ftp_directory_listing_response_delegate.cc
index ee6507c7ffde34917abe7a2b58d6fe80bb2abb9a..26d43c86657b3f3429ce3f230d3bd186a47079e2 100644
--- a/content/child/ftp_directory_listing_response_delegate.cc
+++ b/content/child/ftp_directory_listing_response_delegate.cc
@@ -4,6 +4,9 @@
#include "content/child/ftp_directory_listing_response_delegate.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
#include "base/i18n/icu_encoding_detection.h"
@@ -99,7 +102,7 @@ void FtpDirectoryListingResponseDelegate::OnCompletedRequest() {
continue;
bool is_directory = (entry.type == FtpDirectoryListingEntry::DIRECTORY);
- int64 size = entry.size;
+ int64_t size = entry.size;
if (entry.type != FtpDirectoryListingEntry::FILE)
size = 0;
SendDataToClient(net::GetDirectoryListingEntry(
« no previous file with comments | « content/child/ftp_directory_listing_response_delegate.h ('k') | content/child/geofencing/geofencing_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698