| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 #ifndef NET_QUIC_CORE_QUIC_BUG_TRACKER_H_ | 4 #ifndef NET_QUIC_PLATFORM_IMPL_QUIC_BUG_TRACKER_IMPL_H_ |
| 5 #define NET_QUIC_CORE_QUIC_BUG_TRACKER_H_ | 5 #define NET_QUIC_PLATFORM_IMPL_QUIC_BUG_TRACKER_IMPL_H_ |
| 6 | 6 |
| 7 // For external QUIC, QUIC_BUG should be #defined to LOG(DFATAL) and | 7 #include "net/quic/platform/api/quic_logging.h" |
| 8 // QUIC_BUG_IF(condition) to LOG_IF(DFATAL, condition) as client-side log rate | |
| 9 // limiting is less important and chrome doesn't LOG_FIRST_N anyway. | |
| 10 #define QUIC_BUG_IMPL LOG(DFATAL) | |
| 11 #define QUIC_BUG_IF_IMPL(condition) LOG_IF(DFATAL, condition) | |
| 12 | 8 |
| 13 #endif // NET_QUIC_CORE_QUIC_BUG_TRACKER_H_ | 9 // For external QUIC, QUIC_BUG should be #defined to QUIC_LOG(DFATAL) and |
| 10 // QUIC_BUG_IF(condition) to QUIC LOG_IF(DFATAL, condition) as client-side log |
| 11 // rate limiting is less important and chrome doesn't QUIC_LOG_FIRST_N anyway. |
| 12 #define QUIC_BUG_IMPL QUIC_LOG(DFATAL) |
| 13 #define QUIC_BUG_IF_IMPL(condition) QUIC_LOG_IF(DFATAL, condition) |
| 14 |
| 15 #endif // NET_QUIC_PLATFORM_IMPL_QUIC_BUG_TRACKER_IMPL_H_ |
| OLD | NEW |