Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5324)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc

Issue 2504963004: Record time to first data reduction proxy request (Closed)
Patch Set: Rebased Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ae6e0fd8ed5e0e8c97f8c72ebfd6da03b06f8e76..a354ed66fad82af0de7392e444863fd89d0c3444 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
@@ -476,6 +476,10 @@ DataReductionProxyTestContext::Builder::Build() {
}
io_data->set_config_client(std::move(config_client));
+ io_data->set_proxy_delegate(base::WrapUnique(new DataReductionProxyDelegate(
+ io_data->config(), io_data->configurator(), io_data->event_creator(),
+ io_data->bypass_stats(), net_log.get())));
+
std::unique_ptr<DataReductionProxyTestContext> test_context(
new DataReductionProxyTestContext(
task_runner, std::move(pref_service), std::move(net_log),

Powered by Google App Engine
This is Rietveld 408576698