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

Unified Diff: net/quic/platform/impl/quic_bug_tracker_impl.h

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/quic/platform/api/quic_logging.h ('k') | net/quic/platform/impl/quic_logging_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/impl/quic_bug_tracker_impl.h
diff --git a/net/quic/platform/impl/quic_bug_tracker_impl.h b/net/quic/platform/impl/quic_bug_tracker_impl.h
index 16675042718e7dd84e35af1b0130476aa10f1cf6..a734fc7dd33cbff2dcbf2c9eea8863e931a585d9 100644
--- a/net/quic/platform/impl/quic_bug_tracker_impl.h
+++ b/net/quic/platform/impl/quic_bug_tracker_impl.h
@@ -1,15 +1,13 @@
// Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_QUIC_PLATFORM_IMPL_QUIC_BUG_TRACKER_IMPL_H_
-#define NET_QUIC_PLATFORM_IMPL_QUIC_BUG_TRACKER_IMPL_H_
+#ifndef NET_QUIC_CORE_QUIC_BUG_TRACKER_H_
+#define NET_QUIC_CORE_QUIC_BUG_TRACKER_H_
-#include "net/quic/platform/api/quic_logging.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_IMPL LOG(DFATAL)
+#define QUIC_BUG_IF_IMPL(condition) LOG_IF(DFATAL, condition)
-// 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_IMPL QUIC_LOG(DFATAL)
-#define QUIC_BUG_IF_IMPL(condition) QUIC_LOG_IF(DFATAL, condition)
-
-#endif // NET_QUIC_PLATFORM_IMPL_QUIC_BUG_TRACKER_IMPL_H_
+#endif // NET_QUIC_CORE_QUIC_BUG_TRACKER_H_
« no previous file with comments | « net/quic/platform/api/quic_logging.h ('k') | net/quic/platform/impl/quic_logging_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698