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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_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_request_options_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc
index 8268474f979d17b5aa792e857dcb323ce8767c8c..6230d58c548ff8d1b27ec4f30d599f2491252985 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc
@@ -5,12 +5,12 @@
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h"
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/md5.h"
-#include "base/memory/scoped_ptr.h"
#include "base/metrics/field_trial.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
@@ -175,8 +175,8 @@ class DataReductionProxyRequestOptionsTest : public testing::Test {
}
base::MessageLoopForIO message_loop_;
- scoped_ptr<TestDataReductionProxyRequestOptions> request_options_;
- scoped_ptr<DataReductionProxyTestContext> test_context_;
+ std::unique_ptr<TestDataReductionProxyRequestOptions> request_options_;
+ std::unique_ptr<DataReductionProxyTestContext> test_context_;
};
TEST_F(DataReductionProxyRequestOptionsTest, AuthHashForSalt) {

Powered by Google App Engine
This is Rietveld 408576698