summaryrefslogtreecommitdiffstats
path: root/net/socket/socks_client_socket_pool.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-22 03:39:36 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-22 03:39:36 +0000
commit81854c44c38df32b69393186007d4fe7ebb6c471 (patch)
treef7c81816ac395bc37e6ea69aeb4b56cb9c7d3431 /net/socket/socks_client_socket_pool.h
parentcf0ee14c47a74c365e45bfba00eb2024b2e83b4f (diff)
downloadchromium_src-81854c44c38df32b69393186007d4fe7ebb6c471.zip
chromium_src-81854c44c38df32b69393186007d4fe7ebb6c471.tar.gz
chromium_src-81854c44c38df32b69393186007d4fe7ebb6c471.tar.bz2
net: Fix incorrect style used in some enumerations.
Reason: They are using kConstantNaming, however the Chromium style is to use UPPER_CASE_FOR_ENUMS. Also convert some truly constants, like the following: http/http_proxy_client_socket_pool.h: enum { kDrainBodyBufferSize = 1024 }; To: static const int kDrainBodyBufferSize = 1024; BUG=55668 TEST=compiles locally. Review URL: http://codereview.chromium.org/3421026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socks_client_socket_pool.h')
-rw-r--r--net/socket/socks_client_socket_pool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/socket/socks_client_socket_pool.h b/net/socket/socks_client_socket_pool.h
index 0bea2cc..fff3984 100644
--- a/net/socket/socks_client_socket_pool.h
+++ b/net/socket/socks_client_socket_pool.h
@@ -68,11 +68,11 @@ class SOCKSConnectJob : public ConnectJob {
private:
enum State {
- kStateTCPConnect,
- kStateTCPConnectComplete,
- kStateSOCKSConnect,
- kStateSOCKSConnectComplete,
- kStateNone,
+ STATE_TCP_CONNECT,
+ STATE_TCP_CONNECT_COMPLETE,
+ STATE_SOCKS_CONNECT,
+ STATE_SOCKS_CONNECT_COMPLETE,
+ STATE_NONE,
};
// Begins the tcp connection and the SOCKS handshake. Returns OK on success