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

Unified Diff: webkit/fileapi/file_writer_delegate.cc

Issue 9288084: Added Net logging to FileStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified SetBoundNetLogSource() again. Created 8 years, 11 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: webkit/fileapi/file_writer_delegate.cc
diff --git a/webkit/fileapi/file_writer_delegate.cc b/webkit/fileapi/file_writer_delegate.cc
index d28ef6615989b31253f67af37ee197cb597c03ab..3733b1bd89fb259d253bc1846a49e53d3c0d045b 100644
--- a/webkit/fileapi/file_writer_delegate.cc
+++ b/webkit/fileapi/file_writer_delegate.cc
@@ -118,9 +118,11 @@ void FileWriterDelegate::OnGetFileInfoAndCallStartUpdate(
if (kint64max - overlap > allowed_bytes_growth)
allowed_bytes_to_write_ += overlap;
size_ = file_info.size;
- file_stream_.reset(new net::FileStream(file_,
+ file_stream_.reset(new net::FileStream(
+ file_,
base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_WRITE |
- base::PLATFORM_FILE_ASYNC));
+ base::PLATFORM_FILE_ASYNC,
+ NULL));
request_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698