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

Issue 2533953005: Standardize "net" category trace events (Closed)

Created:
4 years ago by xunjieli
Modified:
4 years ago
Reviewers:
eroman, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, eroman, kinuko+cache_chromium.org, tbansal+watch-nqe_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Standardize "net" category trace events Some "net" trace events are logged with "disabled-by-default-" prefix and some are not. This CL tries to Standardize the usage. BUG=669918 Committed: https://crrev.com/0b7f5b65efc8cfd59c04619e92a052dc2a0a965f Cr-Commit-Position: refs/heads/master@{#436706}

Patch Set 1 #

Patch Set 2 : self review #

Total comments: 2

Patch Set 3 : Address comment #

Patch Set 4 : Address comment #

Patch Set 5 : Move constants to its own target #

Total comments: 1

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -43 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M net/base/network_delegate.cc View 1 2 9 chunks +9 lines, -13 lines 0 comments Download
A net/base/trace_constants.h View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A net/base/trace_constants.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M net/cert/crl_set_storage.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/cert/multi_threaded_cert_verifier.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M net/disk_cache/blockfile/in_flight_io.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/dns/host_cache.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/dns/host_resolver_impl.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M net/proxy/proxy_resolver_v8_tracing.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M net/socket/client_socket_handle.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/client_socket_pool_base.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/socket_posix.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M net/socket/transport_client_socket_pool.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M net/socket/udp_socket_posix.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/socket/websocket_transport_client_socket_pool.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M net/spdy/spdy_session_pool.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 39 (21 generated)
xunjieli
Matt: mind taking a look? I wanted to change this because "net" categories shows up ...
4 years ago (2016-11-30 16:45:14 UTC) #2
mmenke
LGTM, modulo comment. https://codereview.chromium.org/2533953005/diff/20001/net/log/trace_constants.h File net/log/trace_constants.h (right): https://codereview.chromium.org/2533953005/diff/20001/net/log/trace_constants.h#newcode5 net/log/trace_constants.h:5: #ifndef NET_LOG_TRACE_CONSTANTS_H_ We aren't consistent about ...
4 years ago (2016-12-01 16:16:14 UTC) #7
xunjieli
Thanks! https://codereview.chromium.org/2533953005/diff/20001/net/log/trace_constants.h File net/log/trace_constants.h (right): https://codereview.chromium.org/2533953005/diff/20001/net/log/trace_constants.h#newcode5 net/log/trace_constants.h:5: #ifndef NET_LOG_TRACE_CONSTANTS_H_ On 2016/12/01 16:16:14, mmenke wrote: > ...
4 years ago (2016-12-01 23:38:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2533953005/60001
4 years ago (2016-12-01 23:39:11 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/327216)
4 years ago (2016-12-02 00:43:40 UTC) #13
xunjieli
Hi Matt, Should I change "NET_EXPORT_PRIVATE extern const" to "NET_EXPORT extern const" ? The constant ...
4 years ago (2016-12-02 14:13:40 UTC) #14
mmenke
On 2016/12/02 14:13:40, xunjieli wrote: > Hi Matt, > > Should I change "NET_EXPORT_PRIVATE extern ...
4 years ago (2016-12-02 15:03:45 UTC) #15
eroman
Thinking out loud here (not that familiar with component build on windows): Could it be ...
4 years ago (2016-12-02 17:37:52 UTC) #18
eroman
hm, but if that were the case other stuff would be broken too, so probably ...
4 years ago (2016-12-02 17:44:45 UTC) #19
xunjieli
https://codereview.chromium.org/2533953005/diff/120001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/2533953005/diff/120001/net/BUILD.gn#newcode89 net/BUILD.gn:89: source_set("constants") { Thanks so much for the ideas! I ...
4 years ago (2016-12-02 22:35:53 UTC) #23
xunjieli
On 2016/12/02 22:35:53, xunjieli wrote: > https://codereview.chromium.org/2533953005/diff/120001/net/BUILD.gn > File net/BUILD.gn (right): > > https://codereview.chromium.org/2533953005/diff/120001/net/BUILD.gn#newcode89 > ...
4 years ago (2016-12-06 15:19:01 UTC) #26
mmenke
On 2016/12/06 15:19:01, xunjieli wrote: > On 2016/12/02 22:35:53, xunjieli wrote: > > https://codereview.chromium.org/2533953005/diff/120001/net/BUILD.gn > ...
4 years ago (2016-12-06 15:34:59 UTC) #27
xunjieli
On 2016/12/06 15:34:59, mmenke wrote: > On 2016/12/06 15:19:01, xunjieli wrote: > > On 2016/12/02 ...
4 years ago (2016-12-06 15:51:09 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2533953005/120001
4 years ago (2016-12-06 15:51:32 UTC) #30
commit-bot: I haz the power
Failed to apply patch for net/quic/chromium/quic_stream_factory.cc: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-06 17:16:25 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2533953005/140001
4 years ago (2016-12-06 18:45:35 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years ago (2016-12-06 20:44:19 UTC) #37
commit-bot: I haz the power
4 years ago (2016-12-06 20:46:44 UTC) #39
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0b7f5b65efc8cfd59c04619e92a052dc2a0a965f
Cr-Commit-Position: refs/heads/master@{#436706}

Powered by Google App Engine
This is Rietveld 408576698