summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_pool.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-15 19:39:24 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-15 19:39:24 +0000
commit951269b68cd119ea7eeb2e894477df800eeb4c3d (patch)
treee31539ff66aea82836ac1e4264e1c9aafc91ec7a /net/socket/tcp_client_socket_pool.h
parentec44a9a1abaf8ffdc001182b0345295081c6b714 (diff)
downloadchromium_src-951269b68cd119ea7eeb2e894477df800eeb4c3d.zip
chromium_src-951269b68cd119ea7eeb2e894477df800eeb4c3d.tar.gz
chromium_src-951269b68cd119ea7eeb2e894477df800eeb4c3d.tar.bz2
Improve error messages for bad SocketParams.
Make it a compile-time error instead of link-time. Add a check to make sure you don't try to use it with a pointer. BUG=41016 Review URL: http://codereview.chromium.org/1604042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_pool.h')
-rw-r--r--net/socket/tcp_client_socket_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/tcp_client_socket_pool.h b/net/socket/tcp_client_socket_pool.h
index 8eee3c7..07ce3fa 100644
--- a/net/socket/tcp_client_socket_pool.h
+++ b/net/socket/tcp_client_socket_pool.h
@@ -198,7 +198,7 @@ class TCPClientSocketPool : public ClientSocketPool {
DISALLOW_COPY_AND_ASSIGN(TCPClientSocketPool);
};
-REGISTER_SOCKET_PARAMS_FOR_POOL(TCPClientSocketPool, TCPSocketParams)
+REGISTER_SOCKET_PARAMS_FOR_POOL(TCPClientSocketPool, TCPSocketParams);
} // namespace net