| Index: content/browser/download/download_file_impl.h
|
| diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
|
| index 61f1f4d90bb054a524b32e402f78111c7d1de5a0..e3f6d4dc6aa2873e7dd2da4242354a0c88e63ce9 100644
|
| --- a/content/browser/download/download_file_impl.h
|
| +++ b/content/browser/download/download_file_impl.h
|
| @@ -183,6 +183,9 @@ class CONTENT_EXPORT DownloadFileImpl : public DownloadFile {
|
| // Register callback and start to read data from the stream.
|
| void RegisterAndActivateStream(SourceStream* source_stream);
|
|
|
| + // Check if download is completed.
|
| + bool IsDownloadCompleted();
|
| +
|
| // Return the total valid bytes received in the target file.
|
| // If the file is a sparse file, return the total number of valid bytes.
|
| // Otherwise, return the current file size.
|
|
|