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

Issue 165404: Implement LoadLog, and hook up HostResolverImpl to LoadLog.... (Closed)

Created:
11 years, 4 months ago by eroman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, willchan no longer on Chromium
Visibility:
Public.

Description

Implement LoadLog, and hook up HostResolverImpl to LoadLog. The functionality in load_log_util.h is currently unused, but since it motivates the implementation of LoadLog, figured it should be included with this review. Note that I decided against defining the loggable event types as LoadStates, since I wanted more flexibility in adding crazy stuff, and they really seem too implementation specific to be in LoadStates. BUG=http://crbug.com/14478 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23412

Patch Set 1 #

Patch Set 2 : Fix style problems #

Total comments: 9

Patch Set 3 : Change the API for the static member functions to NOT take time param #

Patch Set 4 : Address darin's comments #

Total comments: 2

Patch Set 5 : Do an unsigned/signed thing for GCC compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+749 lines, -48 lines) Patch
M net/base/host_resolver_impl.h View 1 2 3 4 1 chunk +13 lines, -10 lines 0 comments Download
M net/base/host_resolver_impl.cc View 1 2 3 4 10 chunks +83 lines, -30 lines 0 comments Download
M net/base/host_resolver_impl_unittest.cc View 1 2 3 4 7 chunks +45 lines, -4 lines 0 comments Download
M net/base/load_log.h View 1 2 3 4 2 chunks +84 lines, -4 lines 0 comments Download
A net/base/load_log.cc View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A net/base/load_log_event_type_list.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A net/base/load_log_unittest.h View 1 1 chunk +31 lines, -0 lines 0 comments Download
A net/base/load_log_unittest.cc View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download
A net/base/load_log_util.h View 1 2 3 4 1 chunk +74 lines, -0 lines 0 comments Download
A net/base/load_log_util.cc View 1 2 3 1 chunk +179 lines, -0 lines 0 comments Download
A net/base/load_log_util_unittest.cc View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
eroman
Apologies this is kinda long. I recommend browsing the changes in the following order: load_log_util.h ...
11 years, 4 months ago (2009-08-12 22:08:31 UTC) #1
darin (slow to review)
Looks good overall. http://codereview.chromium.org/165404/diff/29/40 File net/base/load_log.h (right): http://codereview.chromium.org/165404/diff/29/40#newcode29 Line 29: kNone, I remember a style ...
11 years, 4 months ago (2009-08-13 21:50:29 UTC) #2
eroman
http://codereview.chromium.org/165404/diff/29/40 File net/base/load_log.h (right): http://codereview.chromium.org/165404/diff/29/40#newcode29 Line 29: kNone, On 2009/08/13 21:50:29, darin wrote: > I ...
11 years, 4 months ago (2009-08-13 23:05:10 UTC) #3
darin (slow to review)
http://codereview.chromium.org/165404/diff/29/40 File net/base/load_log.h (right): http://codereview.chromium.org/165404/diff/29/40#newcode97 Line 97: EventList events_; It's optional. The code is fine ...
11 years, 4 months ago (2009-08-13 23:55:05 UTC) #4
darin (slow to review)
LGTM http://codereview.chromium.org/165404/diff/1021/69 File net/base/load_log_util.h (right): http://codereview.chromium.org/165404/diff/1021/69#newcode87 Line 87: LoadLogUtil() {} nit: DISALLOW_IMPLICIT_CONSTRUCTORS also does the ...
11 years, 4 months ago (2009-08-13 23:57:49 UTC) #5
eroman
11 years, 4 months ago (2009-08-14 03:02:05 UTC) #6
committed.

http://codereview.chromium.org/165404/diff/1021/69
File net/base/load_log_util.h (right):

http://codereview.chromium.org/165404/diff/1021/69#newcode87
Line 87: LoadLogUtil() {}
On 2009/08/13 23:57:49, darin wrote:
> nit: DISALLOW_IMPLICIT_CONSTRUCTORS also does the job.

Done.

Powered by Google App Engine
This is Rietveld 408576698