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

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

Issue 2072233004: Moving utility methods in data_reduction_proxy to util namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_pingback_client.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
index 44277dcb4e3e4c30d0db315fcbb01ae34302139f..7d9c06677493de75f21c90f96e201eebe640bb9a 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
@@ -58,21 +58,21 @@ std::string SerializeData(const DataReductionProxyData& request_data,
std::string serialized_request;
batched_request.SerializeToString(&serialized_request);
return serialized_request;
}
} // namespace
DataReductionProxyPingbackClient::DataReductionProxyPingbackClient(
net::URLRequestContextGetter* url_request_context)
: url_request_context_(url_request_context),
- pingback_url_(AddApiKeyToUrl(params::GetPingbackURL())) {}
+ pingback_url_(util::AddApiKeyToUrl(params::GetPingbackURL())) {}
DataReductionProxyPingbackClient::~DataReductionProxyPingbackClient() {
DCHECK(thread_checker_.CalledOnValidThread());
}
void DataReductionProxyPingbackClient::OnURLFetchComplete(
const net::URLFetcher* source) {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(source == current_fetcher_.get());
// TODO(ryansturm): Add UMA to measure failures. crbug.com/616544

Powered by Google App Engine
This is Rietveld 408576698