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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.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/common/data_reduction_proxy_headers_unittest.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc
index fdcc54589d092080c74b45d7922cc9c0971af0f8..09258170e77b67866271e3aee1e2e1ca3119706f 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers_unittest.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
@@ -33,8 +34,8 @@ class DataReductionProxyHeadersTest : public testing::Test {
}
private:
- scoped_ptr<DataReductionProxyEventCreator> event_creator_;
- scoped_ptr<TestDataReductionProxyEventStorageDelegate> storage_delegate_;
+ std::unique_ptr<DataReductionProxyEventCreator> event_creator_;
+ std::unique_ptr<TestDataReductionProxyEventStorageDelegate> storage_delegate_;
};
TEST_F(DataReductionProxyHeadersTest, GetDataReductionProxyActionValue) {

Powered by Google App Engine
This is Rietveld 408576698