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

Unified Diff: net/http/http_log_util_unittest.cc

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove incorrect DCHECK from drp_statistics_prefs.cc Created 6 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
« no previous file with comments | « net/http/http_log_util.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_log_util_unittest.cc
diff --git a/net/http/http_log_util_unittest.cc b/net/http/http_log_util_unittest.cc
index 3c5c82656fc4f563082b9a869cab5ba917294038..dd6af698787c9b1d77728c7d29b26eb37f6c94b9 100644
--- a/net/http/http_log_util_unittest.cc
+++ b/net/http/http_log_util_unittest.cc
@@ -53,22 +53,6 @@ TEST(HttpLogUtilTest, ElideHeaderValueForNetLog) {
// Leave whitespace intact.
EXPECT_EQ("NTLM [4 bytes were stripped] ", ElideHeaderValueForNetLog(
NetLog::LOG_STRIP_PRIVATE_DATA, "WWW-Authenticate", "NTLM 1234 "));
-
- // Extra elisions for SPDY_PROXY_AUTH_ORIGIN.
-#if defined(SPDY_PROXY_AUTH_ORIGIN)
- EXPECT_EQ("ps=123, [7 bytes were stripped], c=foo, v=bar",
- ElideHeaderValueForNetLog(
- NetLog::LOG_STRIP_PRIVATE_DATA,
- "Chrome-Proxy", "ps=123, sid=456, c=foo, v=bar"));
- EXPECT_EQ("[7 bytes were stripped], ps=123, c=foo, v=bar",
- ElideHeaderValueForNetLog(
- NetLog::LOG_STRIP_PRIVATE_DATA,
- "Chrome-Proxy", "sid=456, ps=123, c=foo, v=bar"));
- EXPECT_EQ("ps=123, c=foo, v=bar, [7 bytes were stripped]",
- ElideHeaderValueForNetLog(
- NetLog::LOG_STRIP_PRIVATE_DATA,
- "Chrome-Proxy", "ps=123, c=foo, v=bar, sid=456"));
-#endif
}
} // namspace net
« no previous file with comments | « net/http/http_log_util.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698