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

Unified Diff: net/quic/core/frames/quic_stream_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/frames/quic_stop_waiting_frame.h ('k') | net/quic/core/frames/quic_window_update_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_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;
« no previous file with comments | « net/quic/core/frames/quic_stop_waiting_frame.h ('k') | net/quic/core/frames/quic_window_update_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698