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

Unified Diff: net/ftp/ftp_directory_listing_parsers.h

Issue 343022: Also parse file size in new FTP LIST parsing code. (Closed)
Patch Set: Created 11 years, 2 months 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: net/ftp/ftp_directory_listing_parsers.h
diff --git a/net/ftp/ftp_directory_listing_parsers.h b/net/ftp/ftp_directory_listing_parsers.h
index 4fda042e5c2a22a25ad730fe42fee8c8ec620615..2f402e7d94c91c0a7e8a8ac16081605b6c83e5cf 100644
--- a/net/ftp/ftp_directory_listing_parsers.h
+++ b/net/ftp/ftp_directory_listing_parsers.h
@@ -23,6 +23,7 @@ struct FtpDirectoryListingEntry {
Type type;
string16 name;
+ int64 size; // File size, in bytes. -1 if not applicable.
// Last modified time, in local time zone.
base::Time last_modified;

Powered by Google App Engine
This is Rietveld 408576698