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

Unified Diff: net/socket/socks_client_socket.h

Issue 6719035: Remove the fallback from SOCKSv4 to SOCKSv4a. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address wtc's comments Created 9 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 | « no previous file | net/socket/socks_client_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socks_client_socket.h
===================================================================
--- net/socket/socks_client_socket.h (revision 79592)
+++ net/socket/socks_client_socket.h (working copy)
@@ -82,16 +82,6 @@
STATE_NONE,
};
- // The SOCKS proxy connection either has the hostname resolved via the
- // client or via the server. This enum stores the state of the SOCKS
- // connection. If the client can resolve the hostname, the connection is
- // SOCKS4, otherwise it is SOCKS4A.
- enum SocksVersion {
- kSOCKS4Unresolved,
- kSOCKS4,
- kSOCKS4a,
- };
-
void DoCallback(int result);
void OnIOComplete(int result);
@@ -111,7 +101,6 @@
scoped_ptr<ClientSocketHandle> transport_;
State next_state_;
- SocksVersion socks_version_;
// Stores the callback to the layer above, called on completing Connect().
CompletionCallback* user_callback_;
« no previous file with comments | « no previous file | net/socket/socks_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698