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

Unified Diff: net/ftp/ftp_server_type_histograms.h

Issue 11360211: FTP: Clean up the server type histogram to use less space. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_server_type_histograms.h
diff --git a/net/ftp/ftp_server_type_histograms.h b/net/ftp/ftp_server_type_histograms.h
index 9a99588f980e9397562238cff5b1d1826b31d2a3..5ae862cd21abe300b24dc3f8ee9e1be552f2ade1 100644
--- a/net/ftp/ftp_server_type_histograms.h
+++ b/net/ftp/ftp_server_type_histograms.h
@@ -16,17 +16,11 @@ enum FtpServerType {
// connecting to isn't an FTP server), or a broken server.
SERVER_UNKNOWN = 0,
- // Types 1-8 are RESERVED (were earlier used for listings recognized by
- // Mozilla's ParseFTPList code).
-
- SERVER_LS = 9, // Server using /bin/ls -l listing style.
- SERVER_WINDOWS = 10, // Server using Windows listing style.
- SERVER_VMS = 11, // Server using VMS listing style.
- SERVER_NETWARE = 12, // Server using Netware listing style.
-
- // Types 13-14 are RESERVED (were earlier used for MLSD listings).
-
- SERVER_OS2 = 15, // Server using OS/2 listing style.
+ SERVER_LS = 1, // Server using /bin/ls -l listing style.
+ SERVER_WINDOWS = 2, // Server using Windows listing style.
+ SERVER_VMS = 3, // Server using VMS listing style.
+ SERVER_NETWARE = 4, // Server using Netware listing style.
+ SERVER_OS2 = 5, // Server using OS/2 listing style.
NUM_OF_SERVER_TYPES
};
« no previous file with comments | « no previous file | net/ftp/ftp_server_type_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698