Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: net/quic/core/frames/quic_ack_frame.h

Issue 2561893002: Add QUIC_EXPORT macros (Closed)
Patch Set: More Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/crypto/strike_register_client.h ('k') | net/quic/core/frames/quic_blocked_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/frames/quic_ack_frame.h
diff --git a/net/quic/core/frames/quic_ack_frame.h b/net/quic/core/frames/quic_ack_frame.h
index 520d20bb28e4ac5dacda22f319f090d6e461b9a9..1875e425b3d2f5c3faa5bd5c4be1733c46c90dd9 100644
--- a/net/quic/core/frames/quic_ack_frame.h
+++ b/net/quic/core/frames/quic_ack_frame.h
@@ -8,16 +8,16 @@
#include <string>
#include "base/strings/string_piece.h"
-#include "net/base/net_export.h"
#include "net/quic/core/interval_set.h"
#include "net/quic/core/quic_types.h"
+#include "net/quic/platform/api/quic_export.h"
namespace net {
// A sequence of packet numbers where each number is unique. Intended to be used
// in a sliding window fashion, where smaller old packet numbers are removed and
// larger new packet numbers are added, with the occasional random access.
-class NET_EXPORT_PRIVATE PacketNumberQueue {
+class QUIC_EXPORT_PRIVATE PacketNumberQueue {
public:
using const_iterator = IntervalSet<QuicPacketNumber>::const_iterator;
using const_reverse_iterator =
@@ -86,7 +86,7 @@ class NET_EXPORT_PRIVATE PacketNumberQueue {
const_reverse_iterator rend() const;
const_iterator lower_bound(QuicPacketNumber packet_number) const;
- friend NET_EXPORT_PRIVATE std::ostream& operator<<(
+ friend QUIC_EXPORT_PRIVATE std::ostream& operator<<(
std::ostream& os,
const PacketNumberQueue& q);
@@ -94,13 +94,13 @@ class NET_EXPORT_PRIVATE PacketNumberQueue {
IntervalSet<QuicPacketNumber> packet_number_intervals_;
};
-struct NET_EXPORT_PRIVATE QuicAckFrame {
+struct QUIC_EXPORT_PRIVATE QuicAckFrame {
QuicAckFrame();
QuicAckFrame(const QuicAckFrame& other);
~QuicAckFrame();
- friend NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
- const QuicAckFrame& s);
+ friend QUIC_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
+ const QuicAckFrame& s);
// The highest packet number we've observed from the peer.
QuicPacketNumber largest_observed;
@@ -122,7 +122,7 @@ struct NET_EXPORT_PRIVATE QuicAckFrame {
// True if the packet number is greater than largest_observed or is listed
// as missing.
// Always returns false for packet numbers less than least_unacked.
-NET_EXPORT_PRIVATE bool IsAwaitingPacket(
+QUIC_EXPORT_PRIVATE bool IsAwaitingPacket(
const QuicAckFrame& ack_frame,
QuicPacketNumber packet_number,
QuicPacketNumber peer_least_packet_awaiting_ack);
« no previous file with comments | « net/quic/core/crypto/strike_register_client.h ('k') | net/quic/core/frames/quic_blocked_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698