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

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

Issue 11238044: Refactor BaseFile methods to return a DownloadInterruptReason instead of a net::Error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove SHFILE_TO_REASON macro Created 8 years, 2 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 5167772b839a31b2ca948d57e7c3c5dbe3156d87..1d942333fe7c6e3e2de6aa81a8269dac02d31041 100644
--- a/content/browser/download/download_net_log_parameters.h
+++ b/content/browser/download/download_net_log_parameters.h
@@ -80,6 +80,11 @@ base::Value* FileErrorCallback(const char* operation,
net::Error net_error,
net::NetLog::LogLevel log_level);
+base::Value* FileInterruptedCallback(const char* operation,
+ int os_error,
+ content::DownloadInterruptReason reason,
+ net::NetLog::LogLevel log_level);
+
} // namespace download_net_logs
#endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_
« no previous file with comments | « content/browser/download/download_file_impl.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