Chromium Code Reviews| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc |
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc |
| index 4a37e8ee371e9c5dd8652839d0b48d0dc66f22eb..60f41c6305dbf0d41fad2db5529738b0aecdb8eb 100644 |
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc |
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc |
| @@ -527,16 +527,17 @@ void DataReductionProxyTestContext::AttachToURLRequestContext( |
| // |request_context_storage| takes ownership of the network delegate. |
| request_context_storage->set_network_delegate( |
| - io_data()->CreateNetworkDelegate( |
| - scoped_ptr<net::NetworkDelegate>(new net::TestNetworkDelegate()), |
| - true).release()); |
| + io_data() |
|
Deprecated (see juliatuttle)
2015/09/08 15:39:42
Is this what git cl format does? Separating the io
Randy Smith (Not in Mondays)
2015/09/08 16:33:17
Yeah, that's git cl format (changed back, re-ran,
|
| + ->CreateNetworkDelegate( |
| + scoped_ptr<net::NetworkDelegate>(new net::TestNetworkDelegate()), |
|
pauljensen
2015/08/28 13:38:02
I see lots of places in this CL where you've added
Randy Smith (Not in Mondays)
2015/09/02 23:42:19
So "Done", with the exception of places where I'm
|
| + true) |
| + .Pass()); |
| - // |request_context_storage| takes ownership of the job factory. |
| request_context_storage->set_job_factory( |
| - new net::URLRequestInterceptingJobFactory( |
| + make_scoped_ptr(new net::URLRequestInterceptingJobFactory( |
| scoped_ptr<net::URLRequestJobFactory>( |
| new net::URLRequestJobFactoryImpl()), |
| - io_data()->CreateInterceptor().Pass())); |
| + io_data()->CreateInterceptor().Pass()))); |
| } |
| void DataReductionProxyTestContext:: |