Index: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc |
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc |
index c107a30a5eae57f95b3da7d1e0e42f7eae984c49..dbf5bb5ea055683d0f1b244cc174ee28eda5c13b 100644 |
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc |
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc |
@@ -65,10 +65,11 @@ class DataReductionProxyDebugResourceThrottleTest : public testing::Test { |
context_.set_job_factory(&test_job_factory_); |
- test_context_.reset(new DataReductionProxyTestContext( |
- DataReductionProxyParams::kAllowed, |
- TestDataReductionProxyParams::HAS_EVERYTHING, |
- DataReductionProxyTestContext::DEFAULT_TEST_CONTEXT_OPTIONS)); |
+ test_context_ = |
+ DataReductionProxyTestContext::Builder() |
+ .WithParamsFlags(DataReductionProxyParams::kAllowed) |
+ .WithParamsDefinitions(TestDataReductionProxyParams::HAS_EVERYTHING) |
+ .Build(); |
request_ = context_.CreateRequest(GURL("http://www.google.com/"), net::IDLE, |
&delegate_, NULL); |
ui_service_.reset(new ContentDataReductionProxyDebugUIService( |