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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.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.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
index 30c3d25b04dbead6949c97757c8cd613a4449f5d..d5e422ebf6b72bd55722f875ba683588d8c2e061 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
@@ -644,7 +644,7 @@ void DataReductionProxyConfig::HandleSecureProxyCheckResponse(
bool success_response =
base::StartsWith(response, "OK", base::CompareCase::SENSITIVE);
if (event_creator_)
- event_creator_->EndSecureProxyCheck(bound_net_log_, status.error(),
+ event_creator_->EndSecureProxyCheck(net_log_with_source_, status.error(),
http_response_code, success_response);
if (!status.is_success()) {
@@ -754,11 +754,11 @@ void DataReductionProxyConfig::RecordSecureProxyCheckFetchResult(
void DataReductionProxyConfig::SecureProxyCheck(
const GURL& secure_proxy_check_url,
FetcherResponseCallback fetcher_callback) {
- bound_net_log_ = net::BoundNetLog::Make(
+ net_log_with_source_ = net::NetLogWithSource::Make(
net_log_, net::NetLogSourceType::DATA_REDUCTION_PROXY);
if (event_creator_) {
event_creator_->BeginSecureProxyCheck(
- bound_net_log_, config_values_->secure_proxy_check_url());
+ net_log_with_source_, config_values_->secure_proxy_check_url());
}
secure_proxy_checker_->CheckIfSecureProxyIsAllowed(secure_proxy_check_url,

Powered by Google App Engine
This is Rietveld 408576698