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

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: tbansal comments 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 3fe3fce5cdb21aa1350acf4c099628ad8d80818f..93a796dee22e1c357c1f445031eff97165931dd1 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
@@ -840,7 +840,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"
@@ -854,8 +854,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