| Index: components/offline_pages/downloads/download_notifying_observer.cc
|
| diff --git a/components/offline_pages/downloads/download_notifying_observer.cc b/components/offline_pages/downloads/download_notifying_observer.cc
|
| index 483303627a5a323a37e2bdb06e1e284936f5a146..c399065e168e98125965a3500f8a24c55c14bb54 100644
|
| --- a/components/offline_pages/downloads/download_notifying_observer.cc
|
| +++ b/components/offline_pages/downloads/download_notifying_observer.cc
|
| @@ -60,13 +60,13 @@ void DownloadNotifyingObserver::OnChanged(const SavePageRequest& request) {
|
|
|
| void DownloadNotifyingObserver::OnCompleted(
|
| const SavePageRequest& request,
|
| - RequestCoordinator::SavePageStatus status) {
|
| + RequestCoordinator::BackgroundSavePageResult status) {
|
| DCHECK(notifier_.get());
|
| if (!DownloadUIAdapter::IsVisibleInUI(request.client_id()))
|
| return;
|
| - if (status == RequestCoordinator::SavePageStatus::SUCCESS)
|
| + if (status == RequestCoordinator::BackgroundSavePageResult::SUCCESS)
|
| notifier_->NotifyDownloadSuccessful(DownloadUIItem(request));
|
| - else if (status == RequestCoordinator::SavePageStatus::REMOVED)
|
| + else if (status == RequestCoordinator::BackgroundSavePageResult::REMOVED)
|
| notifier_->NotifyDownloadCanceled(DownloadUIItem(request));
|
| else
|
| notifier_->NotifyDownloadFailed(DownloadUIItem(request));
|
|
|