| Index: headless/public/util/expedited_dispatcher.cc
|
| diff --git a/headless/public/util/expedited_dispatcher.cc b/headless/public/util/expedited_dispatcher.cc
|
| index 0120442dd0ec4ac04aeecc969faf1d4e55b11bdc..649321a7ad04c318edf80cd1538b33f27d398c54 100644
|
| --- a/headless/public/util/expedited_dispatcher.cc
|
| +++ b/headless/public/util/expedited_dispatcher.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "headless/public/util/managed_dispatch_url_request_job.h"
|
| +#include "headless/public/util/navigation_request.h"
|
|
|
| namespace headless {
|
|
|
| @@ -36,4 +37,13 @@ void ExpeditedDispatcher::DataReady(ManagedDispatchURLRequestJob* job) {
|
|
|
| void ExpeditedDispatcher::JobDeleted(ManagedDispatchURLRequestJob*) {}
|
|
|
| +void ExpeditedDispatcher::NavigationRequested(
|
| + std::unique_ptr<NavigationRequest> navigation) {
|
| + // For the ExpeditedDispatcher we don't care when the navigation is done,
|
| + // hence the empty closure.
|
| + io_thread_task_runner_->PostTask(
|
| + FROM_HERE, base::Bind(&NavigationRequest::StartProcessing,
|
| + std::move(navigation), base::Closure()));
|
| +}
|
| +
|
| } // namespace headless
|
|
|