| Index: net/quic/core/frames/quic_stream_frame.h
|
| diff --git a/net/quic/core/frames/quic_stream_frame.h b/net/quic/core/frames/quic_stream_frame.h
|
| index 12ac19f76b38efb9606d9d3a2b9ac53506a5db85..845698d9ff8b2c0c1d8c8c9fb97fb0ce2043d3c1 100644
|
| --- a/net/quic/core/frames/quic_stream_frame.h
|
| +++ b/net/quic/core/frames/quic_stream_frame.h
|
| @@ -10,13 +10,14 @@
|
| #include "base/strings/string_piece.h"
|
| #include "net/quic/core/quic_buffer_allocator.h"
|
| #include "net/quic/core/quic_types.h"
|
| +#include "net/quic/platform/api/quic_export.h"
|
|
|
| namespace net {
|
|
|
| // Deleter for stream buffers. Copyable to support platforms where the deleter
|
| // of a unique_ptr must be copyable. Otherwise it would be nice for this to be
|
| // move-only.
|
| -class NET_EXPORT_PRIVATE StreamBufferDeleter {
|
| +class QUIC_EXPORT_PRIVATE StreamBufferDeleter {
|
| public:
|
| StreamBufferDeleter() : allocator_(nullptr) {}
|
| explicit StreamBufferDeleter(QuicBufferAllocator* allocator)
|
| @@ -34,10 +35,10 @@ class NET_EXPORT_PRIVATE StreamBufferDeleter {
|
| using UniqueStreamBuffer = std::unique_ptr<char[], StreamBufferDeleter>;
|
|
|
| // Allocates memory of size |size| using |allocator| for a QUIC stream buffer.
|
| -NET_EXPORT_PRIVATE UniqueStreamBuffer
|
| +QUIC_EXPORT_PRIVATE UniqueStreamBuffer
|
| NewStreamBuffer(QuicBufferAllocator* allocator, size_t size);
|
|
|
| -struct NET_EXPORT_PRIVATE QuicStreamFrame {
|
| +struct QUIC_EXPORT_PRIVATE QuicStreamFrame {
|
| QuicStreamFrame();
|
| QuicStreamFrame(QuicStreamId stream_id,
|
| bool fin,
|
| @@ -50,8 +51,8 @@ struct NET_EXPORT_PRIVATE QuicStreamFrame {
|
| UniqueStreamBuffer buffer);
|
| ~QuicStreamFrame();
|
|
|
| - friend NET_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
|
| - const QuicStreamFrame& s);
|
| + friend QUIC_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os,
|
| + const QuicStreamFrame& s);
|
|
|
| QuicStreamId stream_id;
|
| bool fin;
|
|
|