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

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

Issue 1873263002: Convert //components/data_reduction_proxy from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address feedback Created 4 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_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 0bfd7225a462f0f41a81acddbbaf0eb97722275f..59c95299f9d02e896e0ee6484eedd97674964279 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
@@ -216,7 +216,7 @@ class SecureProxyChecker : public net::URLFetcherDelegate {
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
// The URLFetcher being used for the secure proxy check.
- scoped_ptr<net::URLFetcher> fetcher_;
+ std::unique_ptr<net::URLFetcher> fetcher_;
FetcherResponseCallback fetcher_callback_;
// Used to determine the latency in performing the Data Reduction Proxy secure
@@ -228,7 +228,7 @@ class SecureProxyChecker : public net::URLFetcherDelegate {
DataReductionProxyConfig::DataReductionProxyConfig(
net::NetLog* net_log,
- scoped_ptr<DataReductionProxyConfigValues> config_values,
+ std::unique_ptr<DataReductionProxyConfigValues> config_values,
DataReductionProxyConfigurator* configurator,
DataReductionProxyEventCreator* event_creator)
: secure_proxy_allowed_(params::ShouldUseSecureProxyByDefault()),

Powered by Google App Engine
This is Rietveld 408576698