Skip to content

Commit

Permalink
Fix HttpHeaderNamesTest as upgrade Guava (#5505)
Browse files Browse the repository at this point in the history
### Motivation:
Fix `HttpHeaderNamesTest.
httpHeaderNamesContainsAllFieldsInHttpHeadersInGuava` fail

### Modifications:
- Add `SEC_AD_AUCTION_FETCH` and `AD_AUCTION_SIGNALS` to
`HttpHeaderNames`

Result:
Closes: #5492
  • Loading branch information
thachlp authored Mar 18, 2024
1 parent 4bfa172 commit ccb29fe
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,20 @@ public final class HttpHeaderNames {
*/
public static final AsciiString CDN_LOOP = create("CDN-Loop");

/**
* The HTTP <a
* href="https://wicg.github.io/turtledove/#handling-direct-from-seller-signals">{@code
* Sec-Ad-Auction-Fetch}</a> header field name.
*/
public static final AsciiString SEC_AD_AUCTION_FETCH = create("Sec-Ad-Auction-Fetch");

/**
* The HTTP <a
* href="https://wicg.github.io/turtledove/#handling-direct-from-seller-signals">{@code
* Ad-Auction-Signals}</a> header field name.
*/
public static final AsciiString AD_AUCTION_SIGNALS = create("Ad-Auction-Signals");

private static final Map<CharSequence, AsciiString> map;
private static final Map<AsciiString, String> inverseMap;

Expand Down

0 comments on commit ccb29fe

Please sign in to comment.