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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h

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_interceptor.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h
index 470151d12626fe5099af5c22937ce333ef7e0520..365d4a2c9e18618517a063917253299e5e5d83fc 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_INTERCEPTOR_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_INTERCEPTOR_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h"
#include "net/url_request/url_request_interceptor.h"
@@ -82,7 +83,7 @@ class DataReductionProxyInterceptor : public net::URLRequestInterceptor {
// Object responsible for identifying cases when a response should cause the
// data reduction proxy to be bypassed, and for triggering proxy bypasses in
// these cases.
- scoped_ptr<DataReductionProxyBypassProtocol> bypass_protocol_;
+ std::unique_ptr<DataReductionProxyBypassProtocol> bypass_protocol_;
DISALLOW_COPY_AND_ASSIGN(DataReductionProxyInterceptor);
};

Powered by Google App Engine
This is Rietveld 408576698