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

Issue 1604042: Improve error messages for bad SocketParams. (Closed)

Created:
10 years, 8 months ago by willchan no longer on Chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49823

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address davidben's comments and add to gyp file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -14 lines) Patch
M base/base.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A base/template_util.h View 1 chunk +29 lines, -0 lines 0 comments Download
M net/socket/client_socket_pool.h View 1 2 chunks +17 lines, -6 lines 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 1 6 chunks +12 lines, -6 lines 0 comments Download
M net/socket/socks_client_socket_pool.h View 1 1 chunk +1 line, -1 line 0 comments Download
M net/socket/tcp_client_socket_pool.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
willchan no longer on Chromium
http://codereview.chromium.org/1604042/diff/1/3 File net/socket/client_socket_pool.h (right): http://codereview.chromium.org/1604042/diff/1/3#newcode116 net/socket/client_socket_pool.h:116: value = false, I'm deliberately ignoring the style guide ...
10 years, 8 months ago (2010-04-16 23:49:11 UTC) #1
willchan no longer on Chromium
Ping On 2010/04/16 23:49:11, willchan wrote: > http://codereview.chromium.org/1604042/diff/1/3 > File net/socket/client_socket_pool.h (right): > > http://codereview.chromium.org/1604042/diff/1/3#newcode116 ...
10 years, 8 months ago (2010-04-28 16:53:04 UTC) #2
jar (doing other things)
I'm not competent enough at reading/reviewing these templates. If you're down in MTV, I'd be ...
10 years, 8 months ago (2010-04-28 18:31:01 UTC) #3
davidben
To continue the conversation from http://codereview.chromium.org/2864001/show http://codereview.chromium.org/1604042/diff/1/3 File net/socket/client_socket_pool.h (right): http://codereview.chromium.org/1604042/diff/1/3#newcode134 net/socket/client_socket_pool.h:134: value = true, ...
10 years, 6 months ago (2010-06-15 17:54:36 UTC) #4
willchan no longer on Chromium
Thanks for the comments. http://codereview.chromium.org/1604042/diff/1/3 File net/socket/client_socket_pool.h (right): http://codereview.chromium.org/1604042/diff/1/3#newcode134 net/socket/client_socket_pool.h:134: value = true, \ On ...
10 years, 6 months ago (2010-06-15 19:03:47 UTC) #5
davidben (use chromium.org)
10 years, 6 months ago (2010-06-15 19:07:44 UTC) #6
LGTM.

Powered by Google App Engine
This is Rietveld 408576698