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

Issue 9585026: Add a source id to global NetLog entries. (Closed)

Created:
8 years, 9 months ago by mmenke
Modified:
8 years, 9 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman, darin-cc_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Add a source id to global NetLog entries, which makes them easier to sort in about:net-internals, making the world a happier, fuzzier place. Also slightly simplifies the functions to add NetLog entries, and makes it impossible to create a BoundNetLog with both an invalid source and a non-NULL NetLog. BUG=116597 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=126849

Patch Set 1 #

Patch Set 2 : More fixes... #

Patch Set 3 : #

Patch Set 4 : Sync #

Patch Set 5 : Move friend declaration #

Total comments: 12

Patch Set 6 : Response to comments #

Patch Set 7 : #

Patch Set 8 : Update dates for manual commit #

Patch Set 9 : Missed one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -131 lines) Patch
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/net/chrome_net_log.h View 1 2 3 4 5 6 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/net/chrome_net_log.cc View 1 2 3 4 5 6 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/net/chrome_net_log_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/resources/net_internals/source_tracker.js View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M net/base/capturing_net_log.h View 1 2 3 4 5 6 4 chunks +8 lines, -13 lines 0 comments Download
M net/base/capturing_net_log.cc View 1 2 3 4 5 6 3 chunks +15 lines, -16 lines 0 comments Download
M net/base/file_stream_unittest.cc View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M net/base/net_log.h View 1 2 3 4 5 6 7 chunks +27 lines, -26 lines 0 comments Download
M net/base/net_log.cc View 1 2 3 4 5 6 2 chunks +10 lines, -13 lines 0 comments Download
M net/base/net_log_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_auth_handler_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M net/proxy/proxy_resolver_js_bindings.cc View 1 2 3 4 5 6 1 chunk +2 lines, -8 lines 0 comments Download
M net/proxy/proxy_resolver_js_bindings_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 6 2 chunks +6 lines, -11 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_throttler_manager.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M net/url_request/url_request_throttler_manager.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -11 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
mmenke
8 years, 9 months ago (2012-03-14 20:59:50 UTC) #1
eroman
lgtm http://codereview.chromium.org/9585026/diff/23005/net/base/capturing_net_log.h File net/base/capturing_net_log.h (right): http://codereview.chromium.org/9585026/diff/23005/net/base/capturing_net_log.h#newcode104 net/base/capturing_net_log.h:104: net::NetLog::SOURCE_NONE); I think we should preserve the Source ...
8 years, 9 months ago (2012-03-14 21:53:48 UTC) #2
mmenke
Thanks for the review. http://codereview.chromium.org/9585026/diff/23005/net/base/capturing_net_log.h File net/base/capturing_net_log.h (right): http://codereview.chromium.org/9585026/diff/23005/net/base/capturing_net_log.h#newcode104 net/base/capturing_net_log.h:104: net::NetLog::SOURCE_NONE); On 2012/03/14 21:53:48, eroman ...
8 years, 9 months ago (2012-03-14 22:25:23 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/9585026/26026
8 years, 9 months ago (2012-03-14 22:39:24 UTC) #4
commit-bot: I haz the power
Try job failure for 9585026-26026 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-14 23:17:16 UTC) #5
mmenke
I removed the scoped_ptr include from capturing_net_log, and it was needed by a unittest. Include ...
8 years, 9 months ago (2012-03-14 23:47: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/9585026/24043
8 years, 9 months ago (2012-03-14 23:55:53 UTC) #7
commit-bot: I haz the power
Try job failure for 9585026-24043 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-15 03:07:20 UTC) #8
mmenke
On 2012/03/15 03:07:20, I haz the power (commit-bot) wrote: > Try job failure for 9585026-24043 ...
8 years, 9 months ago (2012-03-15 03:08:17 UTC) #9
commit-bot: I haz the power
8 years, 9 months ago (2012-03-15 03:14:36 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698