Chromium Code Reviews| Index: chrome/browser/net/connection_tester.cc |
| diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc |
| index 533f8acb11831cf47c0da40c6ffa14bac2c2f8d0..9f80e18c2b509808daff0ad6b26f3e82e1d6dee4 100644 |
| --- a/chrome/browser/net/connection_tester.cc |
| +++ b/chrome/browser/net/connection_tester.cc |
| @@ -36,6 +36,7 @@ |
| #include "net/url_request/url_request.h" |
| #include "net/url_request/url_request_context.h" |
| #include "net/url_request/url_request_context_storage.h" |
| +#include "net/url_request/url_request_job_factory_impl.h" |
| #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| #include "chrome/browser/net/firefox_proxy_settings.h" |
| @@ -134,6 +135,8 @@ class ExperimentURLRequestContext : public net::URLRequestContext { |
| // In-memory cookie store. |
| storage_.set_cookie_store( |
| content::CreateCookieStore(content::CookieStoreConfig())); |
| + // Creating a new job factory avoids all URLRequestInterceptors. |
|
pauljensen
2014/06/10 16:20:19
I'm not sure I understand this comment. URLReques
mmenke
2014/06/10 16:26:28
Comment updated. Wrote the comment before the CL
|
| + storage_.set_job_factory(new net::URLRequestJobFactoryImpl()); |
| return net::OK; |
| } |