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

Unified Diff: net/ftp/ftp_directory_listing_parsers.h

Issue 384007: Distinguish between old and new FTP LIST response parsers (Closed)
Patch Set: eroman's suggestion Created 11 years, 1 month 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
« no previous file with comments | « no previous file | net/ftp/ftp_server_type_histograms.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6906861721fd4ae7e0d83778fe15dd006fc77b57..e02bb1d8f631bff8a9d34147380e6b8d64183aa6 100644
--- a/net/ftp/ftp_directory_listing_parsers.h
+++ b/net/ftp/ftp_directory_listing_parsers.h
@@ -52,7 +52,7 @@ class FtpLsDirectoryListingParser : public FtpDirectoryListingParser {
FtpLsDirectoryListingParser();
// FtpDirectoryListingParser methods:
- virtual FtpServerType GetServerType() const { return SERVER_LSL; }
+ virtual FtpServerType GetServerType() const { return SERVER_LS; }
virtual bool ConsumeLine(const string16& line);
virtual bool EntryAvailable() const;
virtual FtpDirectoryListingEntry PopEntry();
@@ -70,7 +70,7 @@ class FtpWindowsDirectoryListingParser : public FtpDirectoryListingParser {
FtpWindowsDirectoryListingParser();
// FtpDirectoryListingParser methods:
- virtual FtpServerType GetServerType() const { return SERVER_DOS; }
+ virtual FtpServerType GetServerType() const { return SERVER_WINDOWS; }
virtual bool ConsumeLine(const string16& line);
virtual bool EntryAvailable() const;
virtual FtpDirectoryListingEntry PopEntry();
« no previous file with comments | « no previous file | net/ftp/ftp_server_type_histograms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698