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

Unified Diff: net/quic/core/quic_tag.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/quic_sustained_bandwidth_recorder.h ('k') | net/quic/core/quic_time.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_tag.h
diff --git a/net/quic/core/quic_tag.h b/net/quic/core/quic_tag.h
index 8645622c553b853323e8ab55a33655cb3acb96d2..f79d63b68eb766f7b77f6745b2de17dff0e7c885 100644
--- a/net/quic/core/quic_tag.h
+++ b/net/quic/core/quic_tag.h
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
-#include "net/base/net_export.h"
+#include "net/quic/platform/api/quic_export.h"
namespace net {
@@ -27,28 +27,28 @@ typedef std::vector<QuicTag> QuicTagVector;
// MakeQuicTag returns a value given the four bytes. For example:
// MakeQuicTag('C', 'H', 'L', 'O');
-NET_EXPORT_PRIVATE QuicTag MakeQuicTag(char a, char b, char c, char d);
+QUIC_EXPORT_PRIVATE QuicTag MakeQuicTag(char a, char b, char c, char d);
// Returns true if |tag_vector| contains |tag|.
-NET_EXPORT_PRIVATE bool ContainsQuicTag(const QuicTagVector& tag_vector,
- QuicTag tag);
+QUIC_EXPORT_PRIVATE bool ContainsQuicTag(const QuicTagVector& tag_vector,
+ QuicTag tag);
// Sets |out_result| to the first tag in |our_tags| that is also in |their_tags|
// and returns true. If there is no intersection it returns false.
//
// If |out_index| is non-nullptr and a match is found then the index of that
// match in |their_tags| is written to |out_index|.
-NET_EXPORT_PRIVATE bool FindMutualQuicTag(const QuicTagVector& our_tags,
- const QuicTag* their_tags,
- size_t num_their_tags,
- QuicTag* out_result,
- size_t* out_index);
+QUIC_EXPORT_PRIVATE bool FindMutualQuicTag(const QuicTagVector& our_tags,
+ const QuicTag* their_tags,
+ size_t num_their_tags,
+ QuicTag* out_result,
+ size_t* out_index);
// A utility function that converts a tag to a std::string. It will try to
// maintain
// the human friendly name if possible (i.e. kABCD -> "ABCD"), or will just
// treat it as a number if not.
-NET_EXPORT_PRIVATE std::string QuicTagToString(QuicTag tag);
+QUIC_EXPORT_PRIVATE std::string QuicTagToString(QuicTag tag);
} // namespace net
« no previous file with comments | « net/quic/core/quic_sustained_bandwidth_recorder.h ('k') | net/quic/core/quic_time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698