Introduce QUIC_NO_EXPORT
This CL replaces the /*QUIC_EXPORT_PRIVATE*/ annotation with QUIC_NO_EXPORT and changes the presubmit to allow that.
QUIC_NO_EXPORT was added to Chromium via:
https://chromium-review.googlesource.com/c/chromium/src/+/1885392
gfe-relnote: n/a, comment-only change
PiperOrigin-RevId: 277332771
Change-Id: I2badefc67bae486e5908925daeecb6886b174532
diff --git a/quic/core/packet_number_indexed_queue.h b/quic/core/packet_number_indexed_queue.h
index 823d9b7..470a58c 100644
--- a/quic/core/packet_number_indexed_queue.h
+++ b/quic/core/packet_number_indexed_queue.h
@@ -35,7 +35,7 @@
// Because of that, it is not a general-purpose container and should not be used
// as one.
template <typename T>
-class /*QUIC_EXPORT_PRIVATE*/ PacketNumberIndexedQueue {
+class QUIC_NO_EXPORT PacketNumberIndexedQueue {
public:
PacketNumberIndexedQueue() : number_of_present_entries_(0) {}
@@ -86,7 +86,7 @@
private:
// Wrapper around T used to mark whether the entry is actually in the map.
- struct /*QUIC_EXPORT_PRIVATE*/ EntryWrapper : T {
+ struct QUIC_NO_EXPORT EntryWrapper : T {
bool present;
EntryWrapper() : present(false) {}