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

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

Issue 1105443003: Add net_log events for the Data Reduction Proxy config service client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr CR comments Created 5 years, 8 months 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 f71ce8d74877ca967efb6b919610fee201340913..6bc4030e04f2cb910c9032aa40a6abd000dd6de7 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
@@ -93,12 +93,16 @@ TestDataReductionProxyConfigServiceClient::
scoped_ptr<DataReductionProxyParams> params,
DataReductionProxyRequestOptions* request_options,
DataReductionProxyMutableConfigValues* config_values,
- DataReductionProxyConfig* config)
+ DataReductionProxyConfig* config,
+ DataReductionProxyEventCreator* event_creator,
+ net::NetLog* net_log)
: DataReductionProxyConfigServiceClient(params.Pass(),
kTestBackoffPolicy,
request_options,
config_values,
- config),
+ config,
+ event_creator,
+ net_log),
tick_clock_(base::Time::UnixEpoch()),
test_backoff_entry_(&kTestBackoffPolicy, &tick_clock_) {
}
@@ -366,12 +370,12 @@ DataReductionProxyTestContext::Builder::Build() {
if (use_test_config_client_) {
test_context_flags |= USE_TEST_CONFIG_CLIENT;
config_client.reset(new TestDataReductionProxyConfigServiceClient(
- params.Pass(), request_options.get(), raw_mutable_config,
- config.get()));
+ params.Pass(), request_options.get(), raw_mutable_config, config.get(),
+ event_creator.get(), net_log.get()));
} else if (use_config_client_) {
config_client.reset(new DataReductionProxyConfigServiceClient(
params.Pass(), GetBackoffPolicy(), request_options.get(),
- raw_mutable_config, config.get()));
+ raw_mutable_config, config.get(), event_creator.get(), net_log.get()));
}
scoped_ptr<DataReductionProxySettings> settings(

Powered by Google App Engine
This is Rietveld 408576698