Chromium Code Reviews

Issue 1629016: Added NetLog statements for Canonical name lookup. (Closed)

Created:
10 years, 8 months ago by cbentzel
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc, willchan no longer on Chromium
CC:
chromium-reviews, darin-cc_chromium.org, Mike Belshe, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Added NetLog statements for Canonical name lookup. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44910

Patch Set 1 #

Patch Set 2 : Remove TRACE statements. #

Total comments: 4

Patch Set 3 : Naming tweaks #

Patch Set 4 : Merge with trunk #

Unified diffs Side-by-side diffs Stats (+8 lines, -0 lines)
M net/base/net_log_event_type_list.h View 1 chunk +4 lines, -0 lines 0 comments
M net/http/http_network_transaction.cc View 1 chunk +4 lines, -0 lines 0 comments

Messages

Total messages: 10 (0 generated)
cbentzel
10 years, 8 months ago (2010-04-14 17:15:08 UTC) #1
willchan no longer on Chromium
wtc: didn't we say we weren't going to add more TRACE statements? I'm inclined to ...
10 years, 8 months ago (2010-04-14 17:17:01 UTC) #2
cbentzel
yeah, I was unclear what the state of TRACE and netlog was. On Wed, Apr ...
10 years, 8 months ago (2010-04-14 17:24:44 UTC) #3
willchan no longer on Chromium
NetLog is the new hotness. I think mbelshe/erikkay used TRACE stuff for some manual performance ...
10 years, 8 months ago (2010-04-14 17:36:29 UTC) #4
Erik does not do reviews
+mbelshe Mike was using this stuff more recently. I haven't touched it in a while, ...
10 years, 8 months ago (2010-04-14 18:03:34 UTC) #5
willchan no longer on Chromium
This LGTM if you drop the TRACE statements. In answer to erikkay's comments about Speed ...
10 years, 8 months ago (2010-04-15 00:06:20 UTC) #6
cbentzel
The new patchset eliminates the TRACE statements. Thanks for the review.
10 years, 8 months ago (2010-04-15 15:12:07 UTC) #7
eroman
LGTM. Regarding speed tracer/dev tools: I spoke with Pavel about this recently, and we are ...
10 years, 8 months ago (2010-04-15 17:27:37 UTC) #8
wtc
LGTM. Remember to remove "and TRACE" from the Description of your CL. http://codereview.chromium.org/1629016/diff/7001/8001 File net/base/net_log_event_type_list.h ...
10 years, 8 months ago (2010-04-16 01:13:46 UTC) #9
cbentzel
10 years, 8 months ago (2010-04-16 15:11:00 UTC) #10
wtc: the newest patchset includes your suggestions.

http://codereview.chromium.org/1629016/diff/7001/8001
File net/base/net_log_event_type_list.h (right):

http://codereview.chromium.org/1629016/diff/7001/8001#newcode187
net/base/net_log_event_type_list.h:187: // Measures the time to resolve the
canonical name for Negotiate scheme.
On 2010/04/16 01:13:46, wtc wrote:
> Nit: Negotiate scheme => HTTP Negotiate auth scheme
> 
> "Negotiate" is an obscure term outside our circle.
> 
> Nit: HTTP_TRANSACTION_RESOLVE_CANONICAL =>
>      HTTP_TRANSACTION_RESOLVE_CANONICAL_NAME or
>      HTTP_TRANSACTION_RESOLVE_CANONNAME

Done.

http://codereview.chromium.org/1629016/diff/7001/8002
File net/http/http_network_transaction.cc (right):

http://codereview.chromium.org/1629016/diff/7001/8002#newcode578
net/http/http_network_transaction.cc:578:
net_log_.BeginEvent(NetLog::TYPE_HTTP_TRANSACTION_RESOLVE_CANONICAL);
On 2010/04/16 01:13:46, wtc wrote:
> Can you add
>     DCHECK_EQ(OK, rv);
> before this line?

Done.

Powered by Google App Engine