Index: net/quic/quic_bug_tracker.h |
diff --git a/net/quic/quic_bug_tracker.h b/net/quic/quic_bug_tracker.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a832aed4ec7545b60c8f90b2cc755bbacd7e8747 |
--- /dev/null |
+++ b/net/quic/quic_bug_tracker.h |
@@ -0,0 +1,15 @@ |
+// 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. |
Ryan Hamilton
2016/01/07 00:36:13
Remove the extra //?
Zhongyi Shi
2016/01/07 00:45:56
Done.
|
+#ifndef NET_QUIC_QUIC_BUG_TRACKER_H_ |
+#define NET_QUIC_QUIC_BUG_TRACKER_H_ |
+ |
+// For external QUIC, QUIC_BUG should be #defined to LOG(DFATAL) as client-side |
+// log rate limiting is less important and chrome doesn't LOG_FIRST_N anyway. |
+// |
+// This file should change infrequently if ever, so update cost should be |
+// minimal. Meanwhile we do want different macros so we can rate limit server |
+// side, so the google3 shared code increments GFE varz, and chrome can have its |
+// own custom hooks. |
Ryan Hamilton
2016/01/07 00:36:14
Please remove these comments as they're basically
Zhongyi Shi
2016/01/07 00:45:56
Done.
|
+#define QUIC_BUG LOG(DFATAL) |
+#endif // NET_QUIC_QUIC_BUG_TRACKER_H_ |