| Index: chrome/browser/net/url_request_mock_util.cc
|
| diff --git a/chrome/browser/net/url_request_mock_util.cc b/chrome/browser/net/url_request_mock_util.cc
|
| index 6255c60128b26ad651a6e7a064a4c20ac7a5b8ba..6743da1f0bc45e4c1cb06d05b971975e6db0fea2 100644
|
| --- a/chrome/browser/net/url_request_mock_util.cc
|
| +++ b/chrome/browser/net/url_request_mock_util.cc
|
| @@ -11,8 +11,8 @@
|
| #include "chrome/common/chrome_paths.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/test/net/url_request_failed_job.h"
|
| -#include "content/test/net/url_request_mock_http_job.h"
|
| #include "content/test/net/url_request_slow_download_job.h"
|
| +#include "net/test/url_request/url_request_mock_http_job.h"
|
| #include "net/url_request/url_request_filter.h"
|
|
|
| using content::BrowserThread;
|
| @@ -37,7 +37,9 @@ void SetUrlRequestMocksEnabled(bool enabled) {
|
|
|
| base::FilePath root_http;
|
| PathService::Get(chrome::DIR_TEST_DATA, &root_http);
|
| - content::URLRequestMockHTTPJob::AddUrlHandler(root_http);
|
| + net::URLRequestMockHTTPJob::AddUrlHandler(
|
| + root_http,
|
| + content::BrowserThread::GetBlockingPool());
|
| } else {
|
| // Revert to the default handlers.
|
| net::URLRequestFilter::GetInstance()->ClearHandlers();
|
|
|