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

Issue 9223019: Added net logging to BaseFile. (Closed)

Created:
8 years, 11 months ago by ahendrickson
Modified:
8 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, rdsmith+dwatch_chromium.org, jam, joi+watch-content_chromium.org, eroman, darin-cc_chromium.org, arv (Not doing code reviews), mmenke
Visibility:
Public.

Description

Added net logging to BaseFile. This enables net logging for BaseFile if any customer of BaseFile choose to take advantage of it -- none yet do. This is the second of 4 CLs that will enable net logging for downloads. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120510

Patch Set 1 #

Patch Set 2 : Now tracking FileStream net logging CL. #

Patch Set 3 : Merged with trunk #

Patch Set 4 : Minor cleanup #

Patch Set 5 : Merged with parent #

Patch Set 6 : Merged with parent #

Patch Set 7 : Minor cleanup #

Total comments: 24

Patch Set 8 : Removed a parameter from the WRITE event, allowing FileWrittenParameters to be removed #

Patch Set 9 : Merged with trunk #

Patch Set 10 : Addressed Matt's comments. #

Patch Set 11 : Minor cleanup #

Total comments: 6

Patch Set 12 : Reordered net log sources. #

Patch Set 13 : Reordered net log sources, part deux. #

Patch Set 14 : Merged with trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -58 lines) Patch
M chrome/browser/net/passive_log_collector.h View 1 2 3 4 5 6 7 8 9 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/net/passive_log_collector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +32 lines, -7 lines 0 comments Download
M chrome/browser/resources/net_internals/events_view.css View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/net_internals/source_entry.js View 1 2 3 4 5 6 7 8 9 3 chunks +35 lines, -0 lines 0 comments Download
M content/browser/download/base_file.h View 1 2 3 4 5 6 7 5 chunks +8 lines, -2 lines 0 comments Download
M content/browser/download/base_file.cc View 1 2 3 4 5 6 7 8 9 13 chunks +72 lines, -21 lines 0 comments Download
M content/browser/download/base_file_unittest.cc View 1 2 3 4 5 8 chunks +40 lines, -11 lines 0 comments Download
M content/browser/download/download_file_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +11 lines, -10 lines 0 comments Download
A content/browser/download/download_net_log_parameters.h View 1 2 3 4 5 6 7 8 9 1 chunk +59 lines, -0 lines 0 comments Download
A content/browser/download/download_net_log_parameters.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +58 lines, -0 lines 0 comments Download
M content/browser/download/save_file.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M net/base/net_log_event_type_list.h View 1 2 3 4 5 6 7 8 9 2 chunks +46 lines, -3 lines 0 comments Download
M net/base/net_log_source_type_list.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
ahendrickson
This is one of 4 CLs, which must be landed in this order: http://codereview.chromium.org/9288084/ http://codereview.chromium.org/9223019/ ...
8 years, 10 months ago (2012-02-02 19:15:15 UTC) #1
Randy Smith (Not in Mondays)
http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc File content/browser/download/base_file.cc (right): http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc#newcode526 content/browser/download/base_file.cc:526: net::Error BaseFile::AbortOpen(net::Error net_error) { nit: I don't think that ...
8 years, 10 months ago (2012-02-02 20:05:54 UTC) #2
ahendrickson
http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc File content/browser/download/base_file.cc (right): http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc#newcode526 content/browser/download/base_file.cc:526: net::Error BaseFile::AbortOpen(net::Error net_error) { On 2012/02/02 20:05:54, rdsmith wrote: ...
8 years, 10 months ago (2012-02-02 22:23:36 UTC) #3
Randy Smith (Not in Mondays)
LGTM with routine whitespace change. http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc File content/browser/download/base_file.cc (right): http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc#newcode526 content/browser/download/base_file.cc:526: net::Error BaseFile::AbortOpen(net::Error net_error) { ...
8 years, 10 months ago (2012-02-03 17:02:17 UTC) #4
Randy Smith (Not in Mondays)
Having started reviewing the next CL, I'd also like you to update the issue description ...
8 years, 10 months ago (2012-02-03 17:19:26 UTC) #5
ahendrickson
http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc File content/browser/download/base_file.cc (right): http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc#newcode526 content/browser/download/base_file.cc:526: net::Error BaseFile::AbortOpen(net::Error net_error) { On 2012/02/03 17:02:17, rdsmith wrote: ...
8 years, 10 months ago (2012-02-03 17:29:32 UTC) #6
Randy Smith (Not in Mondays)
On 2012/02/03 17:29:32, ahendrickson wrote: > http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc > File content/browser/download/base_file.cc (right): > > http://codereview.chromium.org/9223019/diff/21001/content/browser/download/base_file.cc#newcode526 > ...
8 years, 10 months ago (2012-02-03 17:37:25 UTC) #7
mmenke1
Unpublished comments from yesterday, from the wrong account. http://codereview.chromium.org/9223019/diff/21001/chrome/browser/net/passive_log_collector.cc File chrome/browser/net/passive_log_collector.cc (right): http://codereview.chromium.org/9223019/diff/21001/chrome/browser/net/passive_log_collector.cc#newcode860 chrome/browser/net/passive_log_collector.cc:860: PassiveLogCollector::DowloadTracker::kMaxGraveyardSize ...
8 years, 10 months ago (2012-02-03 18:32:32 UTC) #8
ahendrickson
http://codereview.chromium.org/9223019/diff/21001/chrome/browser/net/passive_log_collector.cc File chrome/browser/net/passive_log_collector.cc (right): http://codereview.chromium.org/9223019/diff/21001/chrome/browser/net/passive_log_collector.cc#newcode860 chrome/browser/net/passive_log_collector.cc:860: PassiveLogCollector::DowloadTracker::kMaxGraveyardSize = 50; On 2012/02/03 18:32:32, mmenke wrote: > ...
8 years, 10 months ago (2012-02-04 05:27:13 UTC) #9
mmenke
LGTM. Note that the name change is just a suggestion. If you disagree, feel free ...
8 years, 10 months ago (2012-02-04 05:49:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahendrickson@chromium.org/9223019/18005
8 years, 10 months ago (2012-02-04 19:27:51 UTC) #11
commit-bot: I haz the power
Can't apply patch for file content/browser/download/download_file_impl.cc. While running patch -p1 --forward --force; patching file content/browser/download/download_file_impl.cc ...
8 years, 10 months ago (2012-02-04 19:27:54 UTC) #12
ahendrickson
http://codereview.chromium.org/9223019/diff/19009/chrome/browser/net/passive_log_collector.cc File chrome/browser/net/passive_log_collector.cc (right): http://codereview.chromium.org/9223019/diff/19009/chrome/browser/net/passive_log_collector.cc#newcode93 chrome/browser/net/passive_log_collector.cc:93: &download_tracker_; On 2012/02/04 05:49:45, Matt Menke wrote: > nit: ...
8 years, 10 months ago (2012-02-04 19:27:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahendrickson@chromium.org/9223019/18007
8 years, 10 months ago (2012-02-04 20:59:06 UTC) #14
commit-bot: I haz the power
Try job failure for 9223019-18007 (retry) on mac_rel for steps "base_unittests, media_unittests, net_unittests, test_shell_tests" (clobber ...
8 years, 10 months ago (2012-02-04 23:50:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahendrickson@chromium.org/9223019/18007
8 years, 10 months ago (2012-02-05 05:18:46 UTC) #16
commit-bot: I haz the power
8 years, 10 months ago (2012-02-05 06:46:29 UTC) #17
Change committed as 120510

Powered by Google App Engine
This is Rietveld 408576698