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

Issue 2471533006: Call MaybeNotifyNetworkBytes() in NotifyStartError(). (Closed)

Created:
4 years, 1 month ago by Not at Google. Contact bengr
Modified:
4 years, 1 month ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call MaybeNotifyNetworkBytes() in NotifyStartError(). This will cause OnNetworkBytesReceived() and OnNetworkBytesSent() to be called before OnComplete() for this use case. BUG=662050 Committed: https://crrev.com/8a1fa9e760fd98d596290825ef6d171f860f4d92 Cr-Commit-Position: refs/heads/master@{#430630}

Patch Set 1 #

Patch Set 2 : Remove debug logging #

Patch Set 3 : Formatting #

Total comments: 4

Patch Set 4 : Remove unnecessary calls to MaybeNotifyNetworkBytes(). #

Patch Set 5 : Call MaybeNotifyNetworkBytes in NotifyStartError #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M net/url_request/url_request_job.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (28 generated)
Not at Google. Contact bengr
PTAL.
4 years, 1 month ago (2016-11-03 18:44:16 UTC) #17
mmenke
I'm not at all confident this ensures the API you're expecting the URLRequest to implement. ...
4 years, 1 month ago (2016-11-03 19:07:01 UTC) #18
Not at Google. Contact bengr
Without this cl, OnNetworkBytesReceived() and OnNetworkBytesSent() can called after OnURLRequestDestroyed() and not just OnCompleted(). This ...
4 years, 1 month ago (2016-11-04 00:08:12 UTC) #23
mmenke
On 2016/11/04 00:08:12, kundaji wrote: > Without this cl, OnNetworkBytesReceived() and OnNetworkBytesSent() can called > ...
4 years, 1 month ago (2016-11-04 17:58:58 UTC) #24
RyanSturm
On 2016/11/04 17:58:58, mmenke wrote: > On 2016/11/04 00:08:12, kundaji wrote: > > Without this ...
4 years, 1 month ago (2016-11-04 19:03:18 UTC) #25
mmenke
On 2016/11/04 19:03:18, Ryan Sturm wrote: > On 2016/11/04 17:58:58, mmenke wrote: > > On ...
4 years, 1 month ago (2016-11-04 19:07:36 UTC) #26
RyanSturm
On 2016/11/04 19:07:36, mmenke wrote: > On 2016/11/04 19:03:18, Ryan Sturm wrote: > > On ...
4 years, 1 month ago (2016-11-04 19:18:04 UTC) #27
mmenke
On 2016/11/04 19:18:04, Ryan Sturm wrote: > On 2016/11/04 19:07:36, mmenke wrote: > > On ...
4 years, 1 month ago (2016-11-04 19:51:31 UTC) #28
Not at Google. Contact bengr
Reporting data use perfectly in the context of a URLRequest is just not possible since ...
4 years, 1 month ago (2016-11-07 19:45:37 UTC) #34
mmenke
On 2016/11/07 19:45:37, kundaji wrote: > Reporting data use perfectly in the context of a ...
4 years, 1 month ago (2016-11-08 15:37:03 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2471533006/100001
4 years, 1 month ago (2016-11-08 16:21:49 UTC) #37
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-11-08 16:26:45 UTC) #39
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 16:38:37 UTC) #41
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8a1fa9e760fd98d596290825ef6d171f860f4d92
Cr-Commit-Position: refs/heads/master@{#430630}

Powered by Google App Engine
This is Rietveld 408576698