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

Issue 9316048: net: Explicitly close a file stream in UploadDataStream. (Closed)

Created:
8 years, 10 months ago by satorux1
Modified:
8 years, 10 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

net: Explicitly close a file stream in UploadDataStream. This is to make it clear that a file stream is closed there, hence file access is performed. Add ScopedIOAllowIO as well. BUG=72001 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120134

Patch Set 1 #

Total comments: 2

Patch Set 2 : uploading the right version... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M net/base/upload_data_stream.cc View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
eroman
lgtm http://codereview.chromium.org/9316048/diff/1/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): http://codereview.chromium.org/9316048/diff/1/net/base/upload_data_stream.cc#newcode171 net/base/upload_data_stream.cc:171: element_file_stream_.Close(); The call to Close() isn't strictly necessary ...
8 years, 10 months ago (2012-02-01 21:43:28 UTC) #1
satorux1
http://codereview.chromium.org/9316048/diff/1/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): http://codereview.chromium.org/9316048/diff/1/net/base/upload_data_stream.cc#newcode171 net/base/upload_data_stream.cc:171: element_file_stream_.Close(); On 2012/02/01 21:43:28, eroman wrote: > The call ...
8 years, 10 months ago (2012-02-01 21:46:09 UTC) #2
eroman
lgtm
8 years, 10 months ago (2012-02-01 21:47:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/9316048/6001
8 years, 10 months ago (2012-02-01 22:32:09 UTC) #4
commit-bot: I haz the power
8 years, 10 months ago (2012-02-02 00:36:27 UTC) #5
Change committed as 120134

Powered by Google App Engine
This is Rietveld 408576698