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

Issue 10546162: NetLogEventParameter to Callback refactoring 9. (Closed)

Created:
8 years, 6 months ago by mmenke
Modified:
8 years, 6 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

NetLogEventParameter to Callback refactoring 9. Get rid of all uses of NetLogEventParameters in net/socket. R=eroman@chromium.org BUG=126243 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142224

Patch Set 1 #

Patch Set 2 : Add header #

Patch Set 3 : Cleanup, bonus sync #

Patch Set 4 : Update comment #

Total comments: 10

Patch Set 5 : Response to comments #

Total comments: 2

Patch Set 6 : Remove comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -383 lines) Patch
M net/net.gyp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/socket/client_socket_handle.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 1 2 13 chunks +19 lines, -25 lines 0 comments Download
M net/socket/nss_ssl_util.cc View 1 2 3 4 5 2 chunks +20 lines, -29 lines 0 comments Download
D net/socket/socket_error_params.h View 1 2 1 chunk +0 lines, -30 lines 0 comments Download
D net/socket/socket_error_params.cc View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
A + net/socket/socket_net_log_params.h View 1 2 3 4 1 chunk +23 lines, -14 lines 0 comments Download
A + net/socket/socket_net_log_params.cc View 3 4 1 chunk +55 lines, -8 lines 0 comments Download
M net/socket/socks5_client_socket.cc View 1 2 12 chunks +19 lines, -29 lines 0 comments Download
M net/socket/socks_client_socket.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_mac.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 26 chunks +53 lines, -111 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_win.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M net/socket/ssl_error_params.h View 1 2 3 1 chunk +3 lines, -14 lines 0 comments Download
M net/socket/ssl_error_params.cc View 1 2 1 chunk +14 lines, -9 lines 0 comments Download
M net/socket/ssl_server_socket_nss.cc View 1 2 6 chunks +7 lines, -8 lines 0 comments Download
M net/socket/tcp_client_socket_libevent.cc View 1 2 10 chunks +17 lines, -22 lines 0 comments Download
M net/socket/tcp_client_socket_win.cc View 1 2 9 chunks +19 lines, -23 lines 0 comments Download
M net/socket/tcp_server_socket_libevent.cc View 1 2 4 chunks +6 lines, -8 lines 0 comments Download
M net/socket/tcp_server_socket_win.cc View 1 2 4 chunks +6 lines, -8 lines 0 comments Download
M net/socket/transport_client_socket_pool.cc View 1 2 3 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mmenke
http://codereview.chromium.org/10546162/diff/13005/net/socket/socket_net_log_params.h File net/socket/socket_net_log_params.h (right): http://codereview.chromium.org/10546162/diff/13005/net/socket/socket_net_log_params.h#newcode10 net/socket/socket_net_log_params.h:10: #include "net/base/net_util.h" This is the simplest way to get ...
8 years, 6 months ago (2012-06-14 14:35:07 UTC) #1
eroman
http://codereview.chromium.org/10546162/diff/13005/net/socket/nss_ssl_util.cc File net/socket/nss_ssl_util.cc (right): http://codereview.chromium.org/10546162/diff/13005/net/socket/nss_ssl_util.cc#newcode236 net/socket/nss_ssl_util.cc:236: dict->SetInteger("ssl_lib_error", PR_GetError()); Please take PR_GetError() as a parameter. My ...
8 years, 6 months ago (2012-06-14 17:45:50 UTC) #2
mmenke
thanks for the feedback. http://codereview.chromium.org/10546162/diff/13005/net/socket/nss_ssl_util.cc File net/socket/nss_ssl_util.cc (right): http://codereview.chromium.org/10546162/diff/13005/net/socket/nss_ssl_util.cc#newcode236 net/socket/nss_ssl_util.cc:236: dict->SetInteger("ssl_lib_error", PR_GetError()); On 2012/06/14 17:45:50, ...
8 years, 6 months ago (2012-06-14 18:03:45 UTC) #3
eroman
http://codereview.chromium.org/10546162/diff/13005/net/socket/socket_net_log_params.h File net/socket/socket_net_log_params.h (right): http://codereview.chromium.org/10546162/diff/13005/net/socket/socket_net_log_params.h#newcode10 net/socket/socket_net_log_params.h:10: #include "net/base/net_util.h" On 2012/06/14 18:03:45, Matt Menke wrote: > ...
8 years, 6 months ago (2012-06-14 18:08:34 UTC) #4
eroman
lgtm
8 years, 6 months ago (2012-06-14 18:08:46 UTC) #5
mmenke
http://codereview.chromium.org/10546162/diff/4015/net/socket/nss_ssl_util.cc File net/socket/nss_ssl_util.cc (right): http://codereview.chromium.org/10546162/diff/4015/net/socket/nss_ssl_util.cc#newcode227 net/socket/nss_ssl_util.cc:227: // Automatically looks up last PR error. On 2012/06/14 ...
8 years, 6 months ago (2012-06-14 18:12:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/10546162/10014
8 years, 6 months ago (2012-06-14 19:34:48 UTC) #7
commit-bot: I haz the power
Failed to apply patch for net/socket/socket_net_log_params.cc: While running patch -p0 --forward --force; patching file net/socket/socket_net_log_params.cc ...
8 years, 6 months ago (2012-06-14 19:34:53 UTC) #8
mmenke
8 years, 6 months ago (2012-06-14 19:36:04 UTC) #9
On 2012/06/14 19:34:53, I haz the power (commit-bot) wrote:
> Failed to apply patch for net/socket/socket_net_log_params.cc:
> While running patch -p0 --forward --force;
> patching file net/socket/socket_net_log_params.cc
> Hunk #1 FAILED at 2.
> 1 out of 1 hunk FAILED -- saving rejects to file
> net/socket/socket_net_log_params.cc.rej

Doesn't like the rename.  I'll land once I've run another Linux try job
(Failures there look unrelated, but I'm paranoid).

Powered by Google App Engine
This is Rietveld 408576698