Index: content/browser/download/download_net_log_parameters.h |
diff --git a/content/browser/download/download_net_log_parameters.h b/content/browser/download/download_net_log_parameters.h |
index 5e0cf3083aed8c8ab730fc9978a789b75f3527d9..db97083b3ebc61cd4054b351cae6af9ffda77303 100644 |
--- a/content/browser/download/download_net_log_parameters.h |
+++ b/content/browser/download/download_net_log_parameters.h |
@@ -181,6 +181,23 @@ class FileOpenedParameters : public net::NetLog::EventParameters { |
DISALLOW_COPY_AND_ASSIGN(FileOpenedParameters); |
}; |
+// NetLog parameters when a DownloadFile is opened. |
+class FileStreamDrainedParameters : public net::NetLog::EventParameters { |
+ public: |
+ FileStreamDrainedParameters(size_t stream_size, |
+ size_t num_buffers); |
+ virtual base::Value* ToValue() const OVERRIDE; |
+ |
+ protected: |
+ virtual ~FileStreamDrainedParameters(); |
+ |
+ private: |
+ const size_t stream_size_; |
+ const size_t num_buffers_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(FileStreamDrainedParameters); |
+}; |
+ |
// NetLog parameters when a DownloadFile is renamed. |
class FileRenamedParameters : public net::NetLog::EventParameters { |
public: |