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

Unified Diff: net/tools/quic/quic_server_test.cc

Issue 2611613003: Add quic_logging (Closed)
Patch Set: fix for win Created 3 years, 11 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: net/tools/quic/quic_server_test.cc
diff --git a/net/tools/quic/quic_server_test.cc b/net/tools/quic/quic_server_test.cc
index 1485d09b831726ab752cf32d4d9eee04be64c34d..8c6584eb46bac8c4142df5b031b8fd0ff00b67c3 100644
--- a/net/tools/quic/quic_server_test.cc
+++ b/net/tools/quic/quic_server_test.cc
@@ -6,6 +6,7 @@
#include "net/quic/core/crypto/quic_random.h"
#include "net/quic/core/quic_utils.h"
+#include "net/quic/platform/api/quic_logging.h"
#include "net/quic/platform/api/quic_socket_address.h"
#include "net/quic/test_tools/crypto_test_utils.h"
#include "net/quic/test_tools/mock_quic_dispatcher.h"
@@ -87,7 +88,7 @@ class QuicServerEpollInTest : public ::testing::Test {
ASSERT_TRUE(QuicServerPeer::SetSmallSocket(&server_));
if (!server_.overflow_supported()) {
- LOG(WARNING) << "Overflow not supported. Not testing.";
+ QUIC_LOG(WARNING) << "Overflow not supported. Not testing.";
return;
}
}
@@ -133,7 +134,7 @@ TEST_F(QuicServerEpollInTest, ProcessBufferedCHLOsOnEpollin) {
int rc = sendto(fd, buf, arraysize(buf), 0,
reinterpret_cast<sockaddr*>(&storage), storage_size);
if (rc < 0) {
- DVLOG(1) << errno << " " << strerror(errno);
+ QUIC_DLOG(INFO) << errno << " " << strerror(errno);
}
while (more_chlos) {

Powered by Google App Engine
This is Rietveld 408576698