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

Unified Diff: net/tools/quic/platform/impl/quic_socket_utils.cc

Issue 2629723003: Revert of Add quic_logging (Closed)
Patch Set: 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
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/platform/impl/quic_socket_utils_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/platform/impl/quic_socket_utils.cc
diff --git a/net/tools/quic/platform/impl/quic_socket_utils.cc b/net/tools/quic/platform/impl/quic_socket_utils.cc
index bb1fcbd7aad693df08f13fb560b29f79d167a2fa..5a821dcfd79f907304204586c89623f0bd758617 100644
--- a/net/tools/quic/platform/impl/quic_socket_utils.cc
+++ b/net/tools/quic/platform/impl/quic_socket_utils.cc
@@ -12,10 +12,10 @@
#include <sys/uio.h>
#include <string>
+#include "base/logging.h"
#include "net/quic/core/quic_flags.h"
#include "net/quic/core/quic_packets.h"
#include "net/quic/platform/api/quic_bug_tracker.h"
-#include "net/quic/platform/api/quic_logging.h"
#include "net/quic/platform/api/quic_socket_address.h"
#ifndef SO_RXQ_OVFL
@@ -277,7 +277,7 @@
int address_family = address.host().AddressFamilyToInt();
int fd = socket(address_family, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP);
if (fd < 0) {
- QUIC_LOG(ERROR) << "socket() failed: " << strerror(errno);
+ LOG(ERROR) << "socket() failed: " << strerror(errno);
return -1;
}
@@ -285,7 +285,7 @@
int rc = setsockopt(fd, SOL_SOCKET, SO_RXQ_OVFL, &get_overflow,
sizeof(get_overflow));
if (rc < 0) {
- QUIC_DLOG(WARNING) << "Socket overflow detection not supported";
+ DLOG(WARNING) << "Socket overflow detection not supported";
} else {
*overflow_supported = true;
}
@@ -306,8 +306,8 @@
rc = SetGetSoftwareReceiveTimestamp(fd);
if (rc < 0) {
- QUIC_LOG(WARNING) << "SO_TIMESTAMPING not supported; using fallback: "
- << strerror(errno);
+ LOG(WARNING) << "SO_TIMESTAMPING not supported; using fallback: "
+ << strerror(errno);
}
return fd;
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/platform/impl/quic_socket_utils_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698