New V2 SPDY_BUG/HTTP2_BUG macros that take an ID. Context: go/gfe-bug-improvements. V2 GFE_BUG macros were added in cl/356332349. This CL adds corresponding SPDY/HTTP2 flavors. PiperOrigin-RevId: 362161656 Change-Id: I933337692db6dc9ffeb0c5af8a673df465708234
diff --git a/http2/platform/api/http2_bug_tracker.h b/http2/platform/api/http2_bug_tracker.h index 93ad677..e3c5f20 100644 --- a/http2/platform/api/http2_bug_tracker.h +++ b/http2/platform/api/http2_bug_tracker.h
@@ -9,6 +9,12 @@ #define HTTP2_BUG HTTP2_BUG_IMPL #define HTTP2_BUG_IF HTTP2_BUG_IF_IMPL + +// V2 macros are the same as all the HTTP2_BUG flavor above, but they take a +// bug_id parameter. +#define HTTP2_BUG_V2 HTTP2_BUG_V2_IMPL +#define HTTP2_BUG_IF_V2 HTTP2_BUG_IF_V2_IMPL + #define FLAGS_http2_always_log_bugs_for_tests \ FLAGS_http2_always_log_bugs_for_tests_IMPL
diff --git a/spdy/platform/api/spdy_bug_tracker.h b/spdy/platform/api/spdy_bug_tracker.h index d750a21..75b4640 100644 --- a/spdy/platform/api/spdy_bug_tracker.h +++ b/spdy/platform/api/spdy_bug_tracker.h
@@ -9,6 +9,12 @@ #define SPDY_BUG SPDY_BUG_IMPL #define SPDY_BUG_IF(condition) SPDY_BUG_IF_IMPL(condition) + +// V2 macros are the same as all the SPDY_BUG flavor above, but they take a +// bug_id parameter. +#define SPDY_BUG_V2 SPDY_BUG_V2_IMPL +#define SPDY_BUG_IF_V2 SPDY_BUG_IF_V2_IMPL + #define FLAGS_spdy_always_log_bugs_for_tests \ FLAGS_spdy_always_log_bugs_for_tests_impl