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

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

Issue 10542153: NetLogEventParameter to Callback refactoring 11. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: content/browser/download/download_file_impl.cc
===================================================================
--- content/browser/download/download_file_impl.cc (revision 142108)
+++ content/browser/download/download_file_impl.cc (working copy)
@@ -257,8 +257,8 @@
if (bound_net_log_.IsLoggingAllEvents()) {
bound_net_log_.AddEvent(
net::NetLog::TYPE_DOWNLOAD_STREAM_DRAINED,
- make_scoped_refptr(new download_net_logs::FileStreamDrainedParameters(
- total_incoming_data_size, num_buffers)));
+ base::Bind(&download_net_logs::FileStreamDrainedCallback,
+ total_incoming_data_size, num_buffers));
}
}

Powered by Google App Engine
This is Rietveld 408576698