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

Issue 139253002: net: Use FileStream asynchronously from UploadFileElementReader (Closed)

Created:
6 years, 11 months ago by hashimoto
Modified:
6 years, 11 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

net: Use FileStream asynchronously from UploadFileElementReader InitInternal() and ReadInternal() were used to share the same implementation with UploadFileElementReaderSync. There is no need to maintain them since UploadFileElementReaderSync is gone. Abandon these unneeded functions and use FileStream in an asynchronous way. BUG=294797 TEST=net_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245509

Patch Set 1 : #

Total comments: 2

Patch Set 2 : remove const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -163 lines) Patch
M net/base/upload_file_element_reader.h View 4 chunks +9 lines, -23 lines 0 comments Download
M net/base/upload_file_element_reader.cc View 1 5 chunks +101 lines, -140 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hashimoto
Some more clean up! Please review.
6 years, 11 months ago (2014-01-15 10:24:29 UTC) #1
mmenke
LGTM! Nice cleanup. https://chromiumcodereview.appspot.com/139253002/diff/60001/net/base/upload_file_element_reader.cc File net/base/upload_file_element_reader.cc (right): https://chromiumcodereview.appspot.com/139253002/diff/60001/net/base/upload_file_element_reader.cc#newcode80 net/base/upload_file_element_reader.cc:80: const uint64 num_bytes_to_read = Suggest not ...
6 years, 11 months ago (2014-01-15 15:13:55 UTC) #2
hashimoto
Was hit by TSAN failure. Waiting for the UploadData removal patch to reland... (https://codereview.chromium.org/140733002/) https://codereview.chromium.org/139253002/diff/60001/net/base/upload_file_element_reader.cc ...
6 years, 11 months ago (2014-01-16 09:57:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/139253002/170001
6 years, 11 months ago (2014-01-17 10:07:25 UTC) #4
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 14:03:16 UTC) #5
Message was sent while issue was closed.
Change committed as 245509

Powered by Google App Engine
This is Rietveld 408576698