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

Side by Side Diff: net/quic/platform/impl/quic_bug_tracker_impl.h

Issue 2611613003: Add quic_logging (Closed)
Patch Set: fix failed test? 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« 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