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

Unified Diff: content/browser/download/base_file.cc

Issue 10392111: Use ByteStream in downloads system to decouple source and sink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR. Created 8 years, 6 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
« no previous file with comments | « no previous file | content/browser/download/byte_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/base_file.cc
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc
index 9516fb3c5d16e6fed89cc5744787818e0d103a7c..05dc9d3f59296fc3e5abfac5ef4c74464d51a5d5 100644
--- a/content/browser/download/base_file.cc
+++ b/content/browser/download/base_file.cc
@@ -272,13 +272,6 @@ net::Error BaseFile::AppendDataToFile(const char* data, size_t data_len) {
download_stats::APPEND_TO_DETACHED_FILE_COUNT);
}
- if (bound_net_log_.IsLoggingAllEvents()) {
- bound_net_log_.AddEvent(
- net::NetLog::TYPE_DOWNLOAD_FILE_WRITTEN,
- make_scoped_refptr(new net::NetLogIntegerParameter(
- "byte_count", data_len)));
- }
-
if (!file_stream_.get())
return LOG_ERROR("get", net::ERR_INVALID_HANDLE);
« no previous file with comments | « no previous file | content/browser/download/byte_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698