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

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

Issue 2296043003: Rename Lo-Fi previews to lite pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddTests
Patch Set: rebase Created 4 years, 3 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_network_delegate_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
index e787e52efb44d6dff49756a834b9cc13ef53b8c2..3c4bc5fbc43866ab8e8df1595ef698a13a72cd32 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
@@ -797,7 +797,7 @@ TEST_F(DataReductionProxyNetworkDelegateTest,
FetchURLRequest(GURL("http://www.google.com/"), &request_headers,
std::string(), 140);
histogram_tester.ExpectBucketCount(kLoFiTransformationTypeHistogram,
- NO_TRANSFORMATION_PREVIEW_REQUESTED, 1);
+ NO_TRANSFORMATION_LITE_PAGE_REQUESTED, 1);
std::string response_headers =
"HTTP/1.1 200 OK\r\n"
@@ -811,8 +811,8 @@ TEST_F(DataReductionProxyNetworkDelegateTest,
FetchURLRequest(GURL("http://www.google.com/"), nullptr, response_headers,
140);
- histogram_tester.ExpectBucketCount(kLoFiTransformationTypeHistogram, PREVIEW,
- 1);
+ histogram_tester.ExpectBucketCount(kLoFiTransformationTypeHistogram,
+ LITE_PAGE, 1);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698