Use quiche_export instead of http2_export. gfe-relnote: n/a, no functional change. PiperOrigin-RevId: 290798015 Change-Id: I9029951e8c4d25746c4074dbf1903a05747e3e0f
diff --git a/http2/hpack/huffman/hpack_huffman_decoder.h b/http2/hpack/huffman/hpack_huffman_decoder.h index 73c0162..229bb58 100644 --- a/http2/hpack/huffman/hpack_huffman_decoder.h +++ b/http2/hpack/huffman/hpack_huffman_decoder.h
@@ -18,7 +18,7 @@ #include <iosfwd> #include <string> -#include "net/third_party/quiche/src/http2/platform/api/http2_export.h" +#include "net/third_party/quiche/src/common/platform/api/quiche_export.h" #include "net/third_party/quiche/src/common/platform/api/quiche_string_piece.h" namespace http2 { @@ -38,7 +38,7 @@ // HuffmanBitBuffer stores the leading edge of bits to be decoded. The high // order bit of accumulator_ is the next bit to be decoded. -class HTTP2_EXPORT_PRIVATE HuffmanBitBuffer { +class QUICHE_EXPORT_PRIVATE HuffmanBitBuffer { public: HuffmanBitBuffer(); @@ -85,7 +85,7 @@ return out << v.DebugString(); } -class HTTP2_EXPORT_PRIVATE HpackHuffmanDecoder { +class QUICHE_EXPORT_PRIVATE HpackHuffmanDecoder { public: HpackHuffmanDecoder(); ~HpackHuffmanDecoder();
diff --git a/http2/hpack/huffman/hpack_huffman_encoder.h b/http2/hpack/huffman/hpack_huffman_encoder.h index f7a8e94..2ee4de2 100644 --- a/http2/hpack/huffman/hpack_huffman_encoder.h +++ b/http2/hpack/huffman/hpack_huffman_encoder.h
@@ -11,14 +11,14 @@ #include <cstddef> // For size_t #include <string> -#include "net/third_party/quiche/src/http2/platform/api/http2_export.h" +#include "net/third_party/quiche/src/common/platform/api/quiche_export.h" #include "net/third_party/quiche/src/common/platform/api/quiche_string_piece.h" namespace http2 { // Returns the size of the Huffman encoding of |plain|, which may be greater // than plain.size(). Mostly present for testing. -HTTP2_EXPORT_PRIVATE size_t ExactHuffmanSize(quiche::QuicheStringPiece plain); +QUICHE_EXPORT_PRIVATE size_t ExactHuffmanSize(quiche::QuicheStringPiece plain); // Returns the size of the Huffman encoding of |plain|, unless it is greater // than or equal to plain.size(), in which case a value greater than or equal to @@ -26,14 +26,15 @@ // it doesn't read as much of the input string in the event that the string is // not compressible by HuffmanEncode (i.e. when the encoding is longer than the // original string, it stops reading the input string as soon as it knows that). -HTTP2_EXPORT_PRIVATE size_t BoundedHuffmanSize(quiche::QuicheStringPiece plain); +QUICHE_EXPORT_PRIVATE size_t +BoundedHuffmanSize(quiche::QuicheStringPiece plain); // Encode the plain text string |plain| with the Huffman encoding defined in // the HPACK RFC, 7541. |*huffman| does not have to be empty, it is cleared at // the beginning of this function. This allows reusing the same string object // across multiple invocations. -HTTP2_EXPORT_PRIVATE void HuffmanEncode(quiche::QuicheStringPiece plain, - std::string* huffman); +QUICHE_EXPORT_PRIVATE void HuffmanEncode(quiche::QuicheStringPiece plain, + std::string* huffman); } // namespace http2