Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
index cadbcd3cda7cb0c844a1e48a8c2e9c04085840c3..05ac2c90db9662ed89ce5cf84aac17572dfe4df8 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
@@ -163,13 +163,13 @@ class DataReductionProxyCompressionStatsTest : public testing::Test { |
for (size_t i = 0; i < kNumDaysInHistory; ++i) { |
original_daily_content_length_list->Set( |
- i, new base::StringValue(base::SizeTToString(i))); |
+ i, new base::Value(base::SizeTToString(i))); |
} |
received_daily_content_length_list->Clear(); |
for (size_t i = 0; i < kNumDaysInHistory / 2; ++i) { |
received_daily_content_length_list->Set( |
- i, new base::StringValue(base::SizeTToString(i))); |
+ i, new base::Value(base::SizeTToString(i))); |
} |
} |
@@ -178,8 +178,7 @@ class DataReductionProxyCompressionStatsTest : public testing::Test { |
base::ListValue* update = compression_stats_->GetList(pref); |
update->Clear(); |
for (size_t i = 0; i < kNumDaysInHistory; ++i) { |
- update->Insert( |
- 0, base::MakeUnique<base::StringValue>(base::Int64ToString(0))); |
+ update->Insert(0, base::MakeUnique<base::Value>(base::Int64ToString(0))); |
} |
} |
@@ -544,8 +543,8 @@ TEST_F(DataReductionProxyCompressionStatsTest, |
TEST_F(DataReductionProxyCompressionStatsTest, StatsRestoredOnOnRestart) { |
base::ListValue list_value; |
- list_value.Insert( |
- 0, base::MakeUnique<base::StringValue>(base::Int64ToString(1234))); |
+ list_value.Insert(0, |
+ base::MakeUnique<base::Value>(base::Int64ToString(1234))); |
pref_service()->Set(prefs::kDailyHttpOriginalContentLength, list_value); |
ResetCompressionStatsWithDelay( |