| Index: sync/test/accounts_client/url_request_context_getter.cc
|
| diff --git a/sync/test/accounts_client/url_request_context_getter.cc b/sync/test/accounts_client/url_request_context_getter.cc
|
| index 161b57d0655860f2c2fb54f1ae1b08dd8fb09e01..ba34e0dc82fc867537b6c2b98eba6c7852f4f29e 100644
|
| --- a/sync/test/accounts_client/url_request_context_getter.cc
|
| +++ b/sync/test/accounts_client/url_request_context_getter.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/threading/worker_pool.h"
|
| #include "net/proxy/proxy_config_service.h"
|
| #include "net/url_request/url_request_context.h"
|
| #include "net/url_request/url_request_context_builder.h"
|
| @@ -35,7 +36,8 @@ URLRequestContextGetter::URLRequestContextGetter(
|
| net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
|
| CHECK(network_task_runner_->BelongsToCurrentThread());
|
| if (!url_request_context_) {
|
| - net::URLRequestContextBuilder builder;
|
| + net::URLRequestContextBuilder builder(
|
| + base::WorkerPool::GetTaskRunner(true /* task_is_slow */));
|
| // net::HttpServer fails to parse headers if user-agent header is blank.
|
| builder.set_user_agent("sync-test-accounts-client");
|
| builder.DisableHttpCache();
|
|
|