Index: components/offline_pages/core/downloads/download_notifying_observer.cc |
diff --git a/components/offline_pages/core/downloads/download_notifying_observer.cc b/components/offline_pages/core/downloads/download_notifying_observer.cc |
index 648f7f7f0a285b6dce5ff716693b696e1dde455e..da9ad6c7d52ff3d8af08ce6105b12f81a275d413 100644 |
--- a/components/offline_pages/core/downloads/download_notifying_observer.cc |
+++ b/components/offline_pages/core/downloads/download_notifying_observer.cc |
@@ -80,7 +80,8 @@ void DownloadNotifyingObserver::OnCompleted( |
return; |
if (status == RequestCoordinator::BackgroundSavePageResult::SUCCESS) |
notifier_->NotifyDownloadSuccessful(DownloadUIItem(request)); |
- else if (status == RequestCoordinator::BackgroundSavePageResult::REMOVED) |
+ else if (status == |
+ RequestCoordinator::BackgroundSavePageResult::USER_CANCELED) |
notifier_->NotifyDownloadCanceled(DownloadUIItem(request)); |
else |
notifier_->NotifyDownloadFailed(DownloadUIItem(request)); |