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

Issue 1362793003: Notify NetworkDelegate when bytes have been sent over the network. (Closed)

Created:
5 years, 3 months ago by sclittle
Modified:
5 years, 2 months ago
Reviewers:
bengr, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Notify NetworkDelegate when bytes have been sent over the network. This CL adds and implements NetworkDelegate::OnNetworkBytesSent(), which is used to notify the network delegate when bytes have been sent over the network. BUG=518051 Committed: https://crrev.com/28d558b8eb033054feddec53cfa667ac4652de0d Cr-Commit-Position: refs/heads/master@{#351165}

Patch Set 1 : Initial patch set #

Total comments: 4

Patch Set 2 : Addressed mmenke comments #

Patch Set 3 : Rebased on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -4 lines) Patch
M net/base/layered_network_delegate.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M net/base/layered_network_delegate.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M net/base/layered_network_delegate_unittest.cc View 1 3 chunks +12 lines, -0 lines 0 comments Download
M net/base/network_delegate.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M net/base/network_delegate.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M net/base/network_delegate_impl.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M net/base/network_delegate_impl.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job_unittest.cc View 1 2 6 chunks +13 lines, -0 lines 0 comments Download
M net/url_request/url_request_job.h View 2 chunks +8 lines, -4 lines 0 comments Download
M net/url_request/url_request_job.cc View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M net/url_request/url_request_test_util.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
sclittle
PTAL Thanks in advance.
5 years, 3 months ago (2015-09-24 21:14:41 UTC) #3
mmenke
Looks good, just think method order should be changed. https://codereview.chromium.org/1362793003/diff/20001/net/base/layered_network_delegate.cc File net/base/layered_network_delegate.cc (right): https://codereview.chromium.org/1362793003/diff/20001/net/base/layered_network_delegate.cc#newcode108 net/base/layered_network_delegate.cc:108: ...
5 years, 3 months ago (2015-09-24 21:30:24 UTC) #4
sclittle
https://codereview.chromium.org/1362793003/diff/20001/net/base/layered_network_delegate.cc File net/base/layered_network_delegate.cc (right): https://codereview.chromium.org/1362793003/diff/20001/net/base/layered_network_delegate.cc#newcode108 net/base/layered_network_delegate.cc:108: int64_t bytes_sent) {} On 2015/09/24 21:30:24, mmenke wrote: > ...
5 years, 3 months ago (2015-09-24 22:20:43 UTC) #5
mmenke
On 2015/09/24 22:20:43, sclittle wrote: > https://codereview.chromium.org/1362793003/diff/20001/net/base/layered_network_delegate.cc > File net/base/layered_network_delegate.cc (right): > > https://codereview.chromium.org/1362793003/diff/20001/net/base/layered_network_delegate.cc#newcode108 > ...
5 years, 2 months ago (2015-09-28 04:27:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1362793003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1362793003/40001
5 years, 2 months ago (2015-09-28 19:48:28 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/59915) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-09-28 20:09:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1362793003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1362793003/60001
5 years, 2 months ago (2015-09-28 20:15:59 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 2 months ago (2015-09-28 21:41:05 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 21:41:56 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/28d558b8eb033054feddec53cfa667ac4652de0d
Cr-Commit-Position: refs/heads/master@{#351165}

Powered by Google App Engine
This is Rietveld 408576698