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

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

Issue 10831302: Download resumption - Preliminary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed signed/unsigned compare issue. Created 8 years, 1 month 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 6461fcea52f27fefe1e27b4de3b04c815c805db1..bc58d69bffd6a9c7a7009e1577e79cf824f52980 100644
--- a/content/browser/download/download_net_log_parameters.h
+++ b/content/browser/download/download_net_log_parameters.h
@@ -46,6 +46,21 @@ base::Value* ItemInterruptedNetLogCallback(DownloadInterruptReason reason,
const std::string* hash_state,
net::NetLog::LogLevel log_level);
+// Returns NetLog parameters when a DownloadItem is resumed.
+base::Value* ItemResumingNetLogCallback(bool user_initiated,
+ DownloadInterruptReason reason,
+ int64 bytes_so_far,
+ const std::string* hash_state,
+ net::NetLog::LogLevel log_level);
+
+// Returns NetLog parameters when a DownloadItem is resumed after an
+// interruption.
+base::Value* ItemResumingCallback(bool user_initiated,
+ content::DownloadInterruptReason reason,
+ int64 bytes_so_far,
+ const std::string* hash_state,
+ net::NetLog::LogLevel log_level);
+
// Returns NetLog parameters when a DownloadItem is completing.
base::Value* ItemCompletingNetLogCallback(int64 bytes_so_far,
const std::string* final_hash,
« 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