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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values_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: 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_mutable_config_values_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values_unittest.cc
index a8b409a82e94e9d3c91db10c6866ebc56aa7a6ec..b82096b05cdaea5b9f78918c949a28309d009840 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values_unittest.cc
@@ -4,10 +4,10 @@
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h"
+#include <memory>
megjablon 2016/04/12 21:55:36 Can be eliminated since it's in .h
dcheng 2016/04/12 22:38:34 Done.
#include <vector>
#include "base/command_line.h"
-#include "base/memory/scoped_ptr.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h"
#include "net/proxy/proxy_server.h"
@@ -34,8 +34,8 @@ class DataReductionProxyMutableConfigValuesTest : public testing::Test {
}
private:
- scoped_ptr<DataReductionProxyParams> params_;
- scoped_ptr<DataReductionProxyMutableConfigValues> mutable_config_values_;
+ std::unique_ptr<DataReductionProxyParams> params_;
+ std::unique_ptr<DataReductionProxyMutableConfigValues> mutable_config_values_;
};
TEST_F(DataReductionProxyMutableConfigValuesTest, UpdateValuesAndInvalidate) {

Powered by Google App Engine
This is Rietveld 408576698