| Index: content/browser/download/download_interrupt_reasons_impl.h
|
| diff --git a/content/browser/download/download_interrupt_reasons_impl.h b/content/browser/download/download_interrupt_reasons_impl.h
|
| index 137dcb2abc5282a4a9a149a41a987fd991ac8822..61ccae1a441aec0c5db9e804e6739ad12e5d6143 100644
|
| --- a/content/browser/download/download_interrupt_reasons_impl.h
|
| +++ b/content/browser/download/download_interrupt_reasons_impl.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_INTERRUPT_REASONS_IMPL_H_
|
| #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_INTERRUPT_REASONS_IMPL_H_
|
|
|
| +#include "base/files/file.h"
|
| #include "content/public/browser/download_interrupt_reasons.h"
|
| #include "net/base/net_errors.h"
|
|
|
| @@ -22,6 +23,10 @@ enum DownloadInterruptSource {
|
| DownloadInterruptReason CONTENT_EXPORT ConvertNetErrorToInterruptReason(
|
| net::Error file_error, DownloadInterruptSource source);
|
|
|
| +// Safe to call from any thread.
|
| +DownloadInterruptReason CONTENT_EXPORT ConvertFileErrorToInterruptReason(
|
| + base::File::Error file_error);
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_INTERRUPT_REASONS_IMPL_H_
|
|
|