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

Unified Diff: content/browser/download/download_net_log_parameters.h

Issue 10074001: Initial implementation of the ByteStream refactor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Checkpoint and merge to LKGR. Created 8 years, 8 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_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 c52b87e5bfab8444d2a065d4bdfc78b7a4b64e5b..fe4bdfeede4598716a25abca8fc6286f1a70876f 100644
--- a/content/browser/download/download_net_log_parameters.h
+++ b/content/browser/download/download_net_log_parameters.h
@@ -155,6 +155,20 @@ class FileOpenedParameters : public net::NetLog::EventParameters {
DISALLOW_COPY_AND_ASSIGN(FileOpenedParameters);
};
+// NetLog parameters when a DownloadFile is opened.
+class FilePipeDrainedParameters : public net::NetLog::EventParameters {
+ public:
+ FilePipeDrainedParameters(size_t pipe_size,
+ size_t num_buffers);
+ virtual base::Value* ToValue() const OVERRIDE;
+
+ private:
+ const size_t pipe_size_;
+ const size_t num_buffers_;
+
+ DISALLOW_COPY_AND_ASSIGN(FilePipeDrainedParameters);
+};
+
// NetLog parameters when a DownloadFile is renamed.
class FileRenamedParameters : public net::NetLog::EventParameters {
public:
« no previous file with comments | « content/browser/download/download_manager_impl_unittest.cc ('k') | content/browser/download/download_net_log_parameters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698