// Copyright (c) 2019 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 QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_
#define QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_

#include "net/spdy/platform/impl/spdy_bug_tracker_impl.h"

#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

#endif  // QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_

// Copyright (c) 2019 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 QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_
#define QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_

#include "net/spdy/platform/impl/spdy_bug_tracker_impl.h"

#define SPDY_BUG SPDY_BUG_IMPL
#define SPDY_BUG_IF(bug_id, condition) SPDY_BUG_IF_IMPL(bug_id, 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

#endif  // QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_

Modify old-style derived GFE_BUG macros to have IDs.
Modify old-style derived GFE_BUG macros to have IDs.

Usage of the macros was replaced by V2 set of macros. Context: go/gfe-bug-improvements. Now that everything was migrated to V2, we are updating V1 macros and will updated everything back to drop the V2 suffix.

GFE_BUG macros were changed in cl/362922435
SPDY_BUG macros were changed in cl/363160900, but one was missed. This CL corrects it.

PiperOrigin-RevId: 363240499
Change-Id: I77b4932e8e47bfef2f34000c0f5984e0a3b6ce45
