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

Unified Diff: net/http/http_log_util_unittest.cc

Issue 2771033005: Split out spdy_log_util from http_log_util. (Closed)
Patch Set: Remove http_log_util.h include from two files that do not use ElideHeaderValueForNetLog(). Created 3 years, 9 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/quic/chromium/quic_chromium_client_session.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 5905f973c98675e9794a9ee3ce1dbed2822baeed..9b6ec8f86461b2c235d60c8eb3f5ea88fd20b1d6 100644
--- a/net/http/http_log_util_unittest.cc
+++ b/net/http/http_log_util_unittest.cc
@@ -4,7 +4,6 @@
#include "net/http/http_log_util.h"
-#include "net/log/net_log_capture_mode.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
@@ -70,14 +69,4 @@ TEST(HttpLogUtilTest, ElideHeaderValueForNetLog) {
"WWW-Authenticate", "NTLM 1234 "));
}
-TEST(HttpLogUtilTest, ElideGoAwayDebugDataForNetLog) {
- // Only elide for appropriate log level.
- EXPECT_EQ(
- "[6 bytes were stripped]",
- ElideGoAwayDebugDataForNetLog(NetLogCaptureMode::Default(), "foobar"));
- EXPECT_EQ("foobar",
- ElideGoAwayDebugDataForNetLog(
- NetLogCaptureMode::IncludeCookiesAndCredentials(), "foobar"));
-}
-
-} // namspace net
+} // namespace net
« no previous file with comments | « net/http/http_log_util.cc ('k') | net/quic/chromium/quic_chromium_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698