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

Unified Diff: net/spdy/spdy_session_unittest.cc

Issue 1955383002: Update Zlib to version 1.2.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unzip on win platform 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 2a0eab0dcfbf29e21299759d38e7a0ecbe5e7547..498275033c97c570522ab884c7130c689c3b7683 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