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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc

Issue 956223002: Rename DataReductionProxyUsageStats to DataReductionProxyBypassStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 years, 9 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_io_data_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
index 0d240e9d20454ccb0f127fbe6253d6cbe47bd82d..70669c7257e9c75c9075c9c89a058f77b9387bd1 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
@@ -114,13 +114,13 @@ TEST_F(DataReductionProxyIODataTest, TestConstruction) {
base::Bind(&DataReductionProxyIODataTest::RequestCallback,
base::Unretained(this)), nullptr);
EXPECT_EQ(1, wrapped_network_delegate->created_requests());
- EXPECT_EQ(nullptr, io_data->usage_stats());
+ EXPECT_EQ(nullptr, io_data->bypass_stats());
// Creating a second delegate with bypass statistics tracking should result
// in usage stats being created.
io_data->CreateNetworkDelegate(make_scoped_ptr(new CountingNetworkDelegate()),
true);
- EXPECT_NE(nullptr, io_data->usage_stats());
+ EXPECT_NE(nullptr, io_data->bypass_stats());
// The Data Reduction Proxy isn't actually enabled here.
io_data->InitOnUIThread(prefs());

Powered by Google App Engine
This is Rietveld 408576698