| 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..a2e881a90041e00c484883d6ba3a83b2122dd363 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
|
| @@ -584,28 +584,6 @@ TEST_F(DataReductionProxyCompressionStatsTest, TotalLengths) {
|
| GetInt64(data_reduction_proxy::prefs::kHttpOriginalContentLength));
|
| }
|
|
|
| -TEST_F(DataReductionProxyCompressionStatsTest, TotalLengthsUpdate) {
|
| - const int64_t kOriginalLength = 200;
|
| - const int64_t kReceivedLength = 100;
|
| -
|
| - compression_stats()->UpdateDataSavings(std::string(), kReceivedLength,
|
| - kOriginalLength);
|
| -
|
| - EXPECT_EQ(0,
|
| - GetInt64(data_reduction_proxy::prefs::kHttpReceivedContentLength));
|
| - EXPECT_EQ(kOriginalLength - kReceivedLength,
|
| - GetInt64(data_reduction_proxy::prefs::kHttpOriginalContentLength));
|
| -
|
| - // Record the same numbers again, and total lengths should be doubled.
|
| - compression_stats()->UpdateDataSavings(std::string(), kReceivedLength,
|
| - kOriginalLength);
|
| -
|
| - EXPECT_EQ(0,
|
| - GetInt64(data_reduction_proxy::prefs::kHttpReceivedContentLength));
|
| - EXPECT_EQ(kOriginalLength * 2 - kReceivedLength * 2,
|
| - GetInt64(data_reduction_proxy::prefs::kHttpOriginalContentLength));
|
| -}
|
| -
|
| TEST_F(DataReductionProxyCompressionStatsTest, OneResponse) {
|
| const int64_t kOriginalLength = 200;
|
| const int64_t kReceivedLength = 100;
|
|
|