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

Issue 2227503003: Add net log to UploadDataStream. (Closed)

Created:
4 years, 4 months ago by maksims (do not use this acc)
Modified:
4 years, 4 months ago
Reviewers:
jam, mmenke, vinodsonkusare77
CC:
chromium-reviews, cbentzel+watch_chromium.org, jam, Randy Smith (Not in Mondays), eroman, darin-cc_chromium.org, pfeldman, devtools-reviews_chromium.org, loading-reviews_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add net log to UploadDataStream. Improve the granularity of net-internals logging for upload to be able to discover where the hang is occurring in situations like in the issue 611436. BUG=613337 Committed: https://crrev.com/819ba85927138d71e488fb7a006d10e7abeec01b Cr-Commit-Position: refs/heads/master@{#412474}

Patch Set 1 : netlog #

Patch Set 2 : rebased #

Total comments: 21

Patch Set 3 : comments #

Total comments: 15

Patch Set 4 : more comments #

Total comments: 8

Patch Set 5 : minor fixes #

Patch Set 6 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -102 lines) Patch
M chrome/browser/devtools/devtools_network_controller_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/devtools/devtools_network_upload_data_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_network_upload_data_stream.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M components/cronet/android/cronet_upload_data_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/android/cronet_upload_data_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/android/test/test_upload_data_stream_handler.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M components/domain_reliability/uploader_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/loader/resource_loader_unittest.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/loader/upload_data_stream_builder_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M net/base/chunked_upload_data_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/chunked_upload_data_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/chunked_upload_data_stream_unittest.cc View 14 chunks +28 lines, -14 lines 0 comments Download
M net/base/elements_upload_data_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/elements_upload_data_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/elements_upload_data_stream_unittest.cc View 22 chunks +42 lines, -23 lines 0 comments Download
M net/base/upload_data_stream.h View 4 chunks +5 lines, -2 lines 0 comments Download
M net/base/upload_data_stream.cc View 1 2 3 4 5 6 chunks +66 lines, -5 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_parser_unittest.cc View 15 chunks +31 lines, -15 lines 0 comments Download
M net/log/net_log_event_type_list.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_http_stream_test.cc View 1 2 10 chunks +12 lines, -10 lines 0 comments Download
M net/quic/core/quic_end_to_end_unittest.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 11 chunks +28 lines, -11 lines 0 comments Download

Messages

Total messages: 77 (60 generated)
maksims (do not use this acc)
please review
4 years, 4 months ago (2016-08-10 07:43:48 UTC) #32
jam
rs lgtm for code outside of net/
4 years, 4 months ago (2016-08-10 17:30:30 UTC) #33
mmenke
https://codereview.chromium.org/2227503003/diff/100001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/100001/net/base/upload_data_stream.cc#newcode26 net/base/upload_data_stream.cc:26: dict->SetBoolean("is_chunked:", is_chunked); Colons aren't needed on any of these. ...
4 years, 4 months ago (2016-08-10 20:44:50 UTC) #34
maksims (do not use this acc)
https://codereview.chromium.org/2227503003/diff/100001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/100001/net/base/upload_data_stream.cc#newcode26 net/base/upload_data_stream.cc:26: dict->SetBoolean("is_chunked:", is_chunked); On 2016/08/10 20:44:49, mmenke wrote: > Colons ...
4 years, 4 months ago (2016-08-16 12:00:19 UTC) #42
mmenke
Looking good! https://codereview.chromium.org/2227503003/diff/140001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/140001/net/base/upload_data_stream.cc#newcode49 net/base/upload_data_stream.cc:49: void LogInitEnd(const BoundNetLog& net_log, I don't think ...
4 years, 4 months ago (2016-08-16 15:40:06 UTC) #45
maksims (do not use this acc)
it should be better now https://codereview.chromium.org/2227503003/diff/140001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/140001/net/base/upload_data_stream.cc#newcode49 net/base/upload_data_stream.cc:49: void LogInitEnd(const BoundNetLog& net_log, ...
4 years, 4 months ago (2016-08-16 18:45:38 UTC) #48
mmenke
LGTM, modulo comments. https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc#newcode39 net/base/upload_data_stream.cc:39: std::unique_ptr<base::Value> NetLogReadEndInfoCallback( Can actually get rid ...
4 years, 4 months ago (2016-08-16 18:54:13 UTC) #51
maksims (do not use this acc)
https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc#newcode39 net/base/upload_data_stream.cc:39: std::unique_ptr<base::Value> NetLogReadEndInfoCallback( On 2016/08/16 18:54:13, mmenke wrote: > Can ...
4 years, 4 months ago (2016-08-16 19:21:37 UTC) #52
mmenke
https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc#newcode24 net/base/upload_data_stream.cc:24: dict->SetInteger("result", result); Per below comment, call this net_error to ...
4 years, 4 months ago (2016-08-16 19:40:09 UTC) #53
maksims (do not use this acc)
https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2227503003/diff/160001/net/base/upload_data_stream.cc#newcode24 net/base/upload_data_stream.cc:24: dict->SetInteger("result", result); On 2016/08/16 19:40:09, mmenke wrote: > Per ...
4 years, 4 months ago (2016-08-17 05:11:57 UTC) #56
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/2227503003/180001
4 years, 4 months ago (2016-08-17 05:12:02 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/53267)
4 years, 4 months ago (2016-08-17 05:21:21 UTC) #59
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/2227503003/220001
4 years, 4 months ago (2016-08-17 08:19:14 UTC) #71
commit-bot: I haz the power
Committed patchset #6 (id:220001)
4 years, 4 months ago (2016-08-17 08:23:12 UTC) #73
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/819ba85927138d71e488fb7a006d10e7abeec01b Cr-Commit-Position: refs/heads/master@{#412474}
4 years, 4 months ago (2016-08-17 08:25:06 UTC) #75
vinodsonkusare77_gmail.com
https://youtu.be/yD6KioQhnAc?list=UUWQUZfAdokV83KKjLl-sDeQ On Wed, Aug 17, 2016 at 1:55 PM, commit-bot@chromium.org via codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> wrote: > ...
4 years, 4 months ago (2016-08-17 10:06:59 UTC) #76
vinodsonkusare77_gmail.com
4 years, 4 months ago (2016-08-17 10:07:35 UTC) #77
Message was sent while issue was closed.
https://youtu.be/ZB29OFBS2w8?list=UUWQUZfAdokV83KKjLl-sDeQ

On Wed, Aug 17, 2016 at 3:36 PM, Vinod kumar Sonkusare <
vinodsonkusare77@gmail.com> wrote:

> https://youtu.be/yD6KioQhnAc?list=UUWQUZfAdokV83KKjLl-sDeQ
>
> On Wed, Aug 17, 2016 at 1:55 PM, commit-bot@chromium.org via
> codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com>
> wrote:
>
>> Patchset 6 (id:??) landed as
>> https://crrev.com/819ba85927138d71e488fb7a006d10e7abeec01b
>> Cr-Commit-Position: refs/heads/master@{#412474}
>>
>> https://codereview.chromium.org/2227503003/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DevTools Reviews" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to devtools-reviews+unsubscribe@chromium.org.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698