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

Unified Diff: net/base/telnet_server.h

Issue 42013: Slight code change to make some global variables const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 months 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 | « net/base/ssl_client_socket_nss.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/telnet_server.h
===================================================================
--- net/base/telnet_server.h (revision 11293)
+++ net/base/telnet_server.h (working copy)
@@ -24,15 +24,24 @@
private:
enum TelnetInputState {
- NOT_IN_IAC_OR_ESC_SEQUENCE, // Currently not processing any IAC or ESC sequence.
- EXPECTING_NEW_LINE, // Received carriage return (CR) expecting new line (LF).
- EXPECTING_COMMAND, // Processing IAC expecting command.
- EXPECTING_OPTION, // Processing IAC expecting option.
- SUBNEGOTIATION_EXPECTING_IAC, // Inside subnegoation IAC,SE will end it.
- SUBNEGOTIATION_EXPECTING_SE, // Ending subnegoation expecting SE.
- EXPECTING_FIRST_ESC_CHARACTER, // Processing ESC sequence.
- EXPECTING_SECOND_ESC_CHARACTER, // Processing ESC sequence with two characters
- EXPECTING_NUMBER_SEMICOLON_OR_END // Processing "ESC [" sequence.
+ // Currently not processing any IAC or ESC sequence.
+ NOT_IN_IAC_OR_ESC_SEQUENCE,
+ // Received carriage return (CR) expecting new line (LF).
+ EXPECTING_NEW_LINE,
+ // Processing IAC expecting command.
+ EXPECTING_COMMAND,
+ // Processing IAC expecting option.
+ EXPECTING_OPTION,
+ // Inside subnegoation IAC,SE will end it.
+ SUBNEGOTIATION_EXPECTING_IAC,
+ // Ending subnegoation expecting SE.
+ SUBNEGOTIATION_EXPECTING_SE,
+ // Processing ESC sequence.
+ EXPECTING_FIRST_ESC_CHARACTER,
+ // Processing ESC sequence with two characters.
+ EXPECTING_SECOND_ESC_CHARACTER,
+ // Processing "ESC [" sequence.
+ EXPECTING_NUMBER_SEMICOLON_OR_END
};
TelnetServer(SOCKET s, ListenSocketDelegate* del);
« no previous file with comments | « net/base/ssl_client_socket_nss.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698