| Index: net/ftp/ftp_directory_listing_parsers.cc
|
| diff --git a/net/ftp/ftp_directory_listing_parsers.cc b/net/ftp/ftp_directory_listing_parsers.cc
|
| index c2679d7727c1c14d2fc30834573a36e6dba86862..8963624cd05296225d68776477082cfc66b458c3 100644
|
| --- a/net/ftp/ftp_directory_listing_parsers.cc
|
| +++ b/net/ftp/ftp_directory_listing_parsers.cc
|
| @@ -341,6 +341,10 @@ bool FtpLsDirectoryListingParser::ConsumeLine(const string16& line) {
|
| return true;
|
| }
|
|
|
| +bool FtpLsDirectoryListingParser::OnEndOfInput() {
|
| + return true;
|
| +}
|
| +
|
| bool FtpLsDirectoryListingParser::EntryAvailable() const {
|
| return !entries_.empty();
|
| }
|
| @@ -381,6 +385,10 @@ bool FtpWindowsDirectoryListingParser::ConsumeLine(const string16& line) {
|
| return true;
|
| }
|
|
|
| +bool FtpWindowsDirectoryListingParser::OnEndOfInput() {
|
| + return true;
|
| +}
|
| +
|
| bool FtpWindowsDirectoryListingParser::EntryAvailable() const {
|
| return !entries_.empty();
|
| }
|
| @@ -441,6 +449,10 @@ bool FtpVmsDirectoryListingParser::ConsumeLine(const string16& line) {
|
| }
|
| }
|
|
|
| +bool FtpVmsDirectoryListingParser::OnEndOfInput() {
|
| + return (state_ == STATE_END);
|
| +}
|
| +
|
| bool FtpVmsDirectoryListingParser::EntryAvailable() const {
|
| return !entries_.empty();
|
| }
|
|
|