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

Unified Diff: net/quic/core/quic_bug_tracker.h

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/quic/core/quic_bug_tracker.h
diff --git a/net/quic/core/quic_bug_tracker.h b/net/quic/core/quic_bug_tracker.h
index e392a1b9d09bc99722e337b356b19d5d8914d0e1..ea2a161431f347cf81440619b44d1ffe1f298242 100644
--- a/net/quic/core/quic_bug_tracker.h
+++ b/net/quic/core/quic_bug_tracker.h
@@ -4,10 +4,12 @@
#ifndef NET_QUIC_CORE_QUIC_BUG_TRACKER_H_
#define NET_QUIC_CORE_QUIC_BUG_TRACKER_H_
-// For external QUIC, QUIC_BUG should be #defined to LOG(DFATAL) and
-// QUIC_BUG_IF(condition) to LOG_IF(DFATAL, condition) as client-side log rate
-// limiting is less important and chrome doesn't LOG_FIRST_N anyway.
-#define QUIC_BUG LOG(DFATAL)
-#define QUIC_BUG_IF(condition) LOG_IF(DFATAL, condition)
+#include "net/quic/platform/api/quic_logging.h"
+
+// For external QUIC, QUIC_BUG should be #defined to QUIC_LOG(DFATAL) and
+// QUIC_BUG_IF(condition) to QUIC_LOG_IF(DFATAL, condition) as client-side log
+// rate limiting is less important and chrome doesn't QUIC_LOG_FIRST_N anyway.
+#define QUIC_BUG QUIC_LOG(DFATAL)
+#define QUIC_BUG_IF(condition) QUIC_LOG_IF(DFATAL, condition)
#endif // NET_QUIC_CORE_QUIC_BUG_TRACKER_H_

Powered by Google App Engine
This is Rietveld 408576698