Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
index 48b1a0a8ed8fef570341a697cbd07a8e22bd6fdb..37d475089392dabcee12c3e30f324b6b50d1d666 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc |
@@ -8,6 +8,7 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <utility> |
#include <vector> |
@@ -1002,7 +1003,7 @@ TEST_F(DataReductionProxyConfigTest, AutoLoFiParamsSlowConnectionsFlag) { |
// Tests if metrics for Lo-Fi accuracy are recorded properly. |
TEST_F(DataReductionProxyConfigTest, LoFiAccuracy) { |
- scoped_ptr<base::SimpleTestTickClock> tick_clock( |
+ std::unique_ptr<base::SimpleTestTickClock> tick_clock( |
new base::SimpleTestTickClock()); |
std::vector<base::TimeDelta> lofi_accuracy_recording_intervals; |
@@ -1096,7 +1097,7 @@ TEST_F(DataReductionProxyConfigTest, LoFiAccuracy) { |
// Tests if metrics for Lo-Fi accuracy are recorded properly at the specified |
// interval. |
TEST_F(DataReductionProxyConfigTest, LoFiAccuracyNonZeroDelay) { |
- scoped_ptr<base::SimpleTestTickClock> tick_clock( |
+ std::unique_ptr<base::SimpleTestTickClock> tick_clock( |
new base::SimpleTestTickClock()); |
std::vector<base::TimeDelta> lofi_accuracy_recording_intervals; |