| Index: net/ftp/ftp_directory_listing_parser_ls.h
|
| diff --git a/net/ftp/ftp_directory_listing_parser_ls.h b/net/ftp/ftp_directory_listing_parser_ls.h
|
| index 689fb7e613058589a5f0d57dcc568c23152fa40d..3fd0d322c2b74113bfb9492e854588d86c5e6fd8 100644
|
| --- a/net/ftp/ftp_directory_listing_parser_ls.h
|
| +++ b/net/ftp/ftp_directory_listing_parser_ls.h
|
| @@ -26,6 +26,10 @@ class FtpDirectoryListingParserLs : public FtpDirectoryListingParser {
|
| private:
|
| bool received_nonempty_line_;
|
|
|
| + // True after we have received a "total n" listing header, where n is an
|
| + // integer. Only one such header is allowed per listing.
|
| + bool received_total_line_;
|
| +
|
| std::queue<FtpDirectoryListingEntry> entries_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FtpDirectoryListingParserLs);
|
|
|