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 3481218caf43d8f77796d78ebf46eb9522924a1b..9d3421ef8ac0afab6688040368edb8e82d2de6ac 100644 |
--- a/components/offline_pages/background/request_coordinator.cc |
+++ b/components/offline_pages/background/request_coordinator.cc |
@@ -69,6 +69,11 @@ void RequestCoordinator::AddRequestResultCallback( |
} |
void RequestCoordinator::RequestPicked(const SavePageRequest& request) { |
+ Scheduler::TriggerCondition conditions; |
+ |
+ // Inform the scheduler that we have an outstanding task. |
dougarnett
2016/06/09 21:54:27
thought this comment wording was confusing - the s
Pete Williamson
2016/06/09 22:09:48
No, this is really about ensuring that the current
dougarnett
2016/06/09 22:27:05
Hmm, not sure I understand your response. Might be
Pete Williamson
2016/06/09 22:30:17
I was thinking that we might also get here via an
|
+ scheduler_->Schedule(conditions); |
+ |
// Send the request on to the offliner. |
SendRequestToOffliner(request); |
} |