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

Unified Diff: net/base/upload_data.cc

Issue 10823180: net: Make UploadDataStream::Init() asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/upload_data.cc
diff --git a/net/base/upload_data.cc b/net/base/upload_data.cc
index b13e9091e8cb0051caeb26a516ba1cd806f600d0..782e713f1ec22ecce5569d56efbc489bfe57753a 100644
--- a/net/base/upload_data.cc
+++ b/net/base/upload_data.cc
@@ -120,8 +120,6 @@ void UploadData::Element::ResetOffset() {
// Delete the file stream if already opened, so we can reread the file from
// the beginning.
if (file_stream_) {
- // Temporarily allow until fix: http://crbug.com/72001.
- base::ThreadRestrictions::ScopedAllowIO allow_io;
eroman 2012/08/09 05:29:33 This removal seems unrelated to this changelist (I
hashimoto 2012/08/09 13:35:02 UploadData::ResetOffset() is the only user of Uplo
file_stream_->CloseSync();
delete file_stream_;
file_stream_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698