| Index: content/public/browser/download_item.h
|
| diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
|
| index 9eaf629612e7ca77f2f89701deba996ac6da7bd2..2d6922b4388c32e4a705c3991fa7cb9c084d4444 100644
|
| --- a/content/public/browser/download_item.h
|
| +++ b/content/public/browser/download_item.h
|
| @@ -119,8 +119,13 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| // Called when the user has validated the download of a dangerous file.
|
| virtual void DangerousDownloadValidated() = 0;
|
|
|
| - // Allow the user to temporarily pause a download or resume a paused download.
|
| - virtual void TogglePause() = 0;
|
| + // Pause a download. Will have no effect if the download is already
|
| + // paused.
|
| + virtual void Pause() = 0;
|
| +
|
| + // Resume a download. Will have no effect if the download is not
|
| + // paused.
|
| + virtual void Resume() = 0;
|
|
|
| // Cancel the download operation. We need to distinguish between cancels at
|
| // exit (DownloadManager destructor) from user interface initiated cancels
|
|
|