| 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 230c641814d9ec7c7a4af9086121377bae53f8c6..4608db5cbb1c4bce6debea11df7d7fcdbd2d3b60 100644
|
| --- a/net/ftp/ftp_directory_listing_parsers.h
|
| +++ b/net/ftp/ftp_directory_listing_parsers.h
|
| @@ -33,6 +33,8 @@ class FtpDirectoryListingParser {
|
| public:
|
| virtual ~FtpDirectoryListingParser();
|
|
|
| + virtual FtpServerType GetServerType() const = 0;
|
| +
|
| // Adds |line| to the internal parsing buffer. Returns true on success.
|
| virtual bool ConsumeLine(const string16& line) = 0;
|
|
|
| @@ -50,6 +52,7 @@ class FtpLsDirectoryListingParser : public FtpDirectoryListingParser {
|
| FtpLsDirectoryListingParser();
|
|
|
| // FtpDirectoryListingParser methods:
|
| + virtual FtpServerType GetServerType() const { return SERVER_LSL; }
|
| virtual bool ConsumeLine(const string16& line);
|
| virtual bool EntryAvailable() const;
|
| virtual FtpDirectoryListingEntry PopEntry();
|
| @@ -66,6 +69,7 @@ class FtpVmsDirectoryListingParser : public FtpDirectoryListingParser {
|
| FtpVmsDirectoryListingParser();
|
|
|
| // FtpDirectoryListingParser methods:
|
| + virtual FtpServerType GetServerType() const { return SERVER_VMS; }
|
| virtual bool ConsumeLine(const string16& line);
|
| virtual bool EntryAvailable() const;
|
| virtual FtpDirectoryListingEntry PopEntry();
|
|
|