| 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 d1ad10f571dd340482ff67ff951f71b6e31a29b8..2a68ca9e4ead53ea9d8d3bf030fd09e2250f98ec 100644
|
| --- a/content/browser/download/download_file_impl.h
|
| +++ b/content/browser/download/download_file_impl.h
|
| @@ -195,6 +195,9 @@ class CONTENT_EXPORT DownloadFileImpl : public DownloadFile {
|
| // TODO(qinmin): add a test for this function.
|
| void AddNewSlice(int64_t offset, int64_t length);
|
|
|
| + // 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.
|
|
|