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

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

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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_config_service_client.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc
index ecb8af9ac1dc9e03c7b34f2da9adb787728abb05..82c91d572e220f3abd1e04566e6c6f52483856fd 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc
@@ -218,14 +218,15 @@ void DataReductionProxyConfigServiceClient::RetrieveConfig() {
if (!enabled_)
return;
- bound_net_log_ = net::BoundNetLog::Make(
+ net_log_with_source_ = net::NetLogWithSource::Make(
net_log_, net::NetLogSourceType::DATA_REDUCTION_PROXY);
// Strip off query string parameters
GURL::Replacements replacements;
replacements.ClearQuery();
GURL base_config_service_url =
config_service_url_.ReplaceComponents(replacements);
- event_creator_->BeginConfigRequest(bound_net_log_, base_config_service_url);
+ event_creator_->BeginConfigRequest(net_log_with_source_,
+ base_config_service_url);
config_fetch_start_time_ = base::TimeTicks::Now();
RetrieveRemoteConfig();
@@ -452,7 +453,7 @@ void DataReductionProxyConfigServiceClient::HandleResponse(
succeeded, refresh_duration, GetBackoffEntry()->GetTimeUntilRelease());
SetConfigRefreshTimer(next_config_refresh_time);
- event_creator_->EndConfigRequest(bound_net_log_, status.error(),
+ event_creator_->EndConfigRequest(net_log_with_source_, status.error(),
response_code,
GetBackoffEntry()->failure_count(), proxies,
refresh_duration, next_config_refresh_time);

Powered by Google App Engine
This is Rietveld 408576698