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

Unified Diff: net/spdy/spdy_session_unittest.cc

Issue 2084863002: Update Zlib to version 1.2.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | third_party/zlib/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_unittest.cc
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc
index 98abf0ea0d007be325e66d917162deea7c96ac89..49b4e04eeb1190804bbaf6d97088a369699e531c 100644
--- a/net/spdy/spdy_session_unittest.cc
+++ b/net/spdy/spdy_session_unittest.cc
@@ -1875,8 +1875,13 @@ TEST_P(SpdySessionTest, SynCompressionHistograms) {
// Regression test of compression performance under the request fixture.
switch (spdy_util_.spdy_version()) {
case SPDY3:
+#if defined(USE_SYSTEM_ZLIB)
histogram_tester.ExpectBucketCount(
"Net.SpdySynStreamCompressionPercentage", 30, 1);
+#else
+ histogram_tester.ExpectBucketCount(
+ "Net.SpdySynStreamCompressionPercentage", 31, 1);
+#endif
break;
case HTTP2:
histogram_tester.ExpectBucketCount(
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | third_party/zlib/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698