Index: components/offline_pages/background/request_coordinator.cc |
diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/background/request_coordinator.cc |
index 88ebb6092d655506a1fd9a701bb813f1639ce229..1c44673b2ceb147b28a4edf08111d675754d3562 100644 |
--- a/components/offline_pages/background/request_coordinator.cc |
+++ b/components/offline_pages/background/request_coordinator.cc |
@@ -94,7 +94,6 @@ bool RequestCoordinator::SavePageLater( |
queue_->AddRequest(request, |
base::Bind(&RequestCoordinator::AddRequestResultCallback, |
weak_ptr_factory_.GetWeakPtr())); |
- NotifyAdded(request); |
return true; |
} |
void RequestCoordinator::GetAllRequests(const GetRequestsCallback& callback) { |
@@ -139,6 +138,7 @@ void RequestCoordinator::ResumeRequests( |
void RequestCoordinator::AddRequestResultCallback( |
RequestQueue::AddRequestResult result, |
const SavePageRequest& request) { |
+ NotifyAdded(request); |
// Inform the scheduler that we have an outstanding task.. |
scheduler_->Schedule(GetTriggerConditionsForUserRequest()); |
} |