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

Unified Diff: Source/wtf/text/TextEncoding.h

Issue 15861022: Build WTF as dll in component build (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix AutoDrainedPool ctor and ThreadSpecificThreadExit exports Created 7 years, 7 months 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 | « Source/wtf/text/StringStatics.cpp ('k') | Source/wtf/text/TextEncodingRegistry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextEncoding.h
diff --git a/Source/wtf/text/TextEncoding.h b/Source/wtf/text/TextEncoding.h
index 5ba75ebe4e725ed564b77c2ab8901feb9ccf6d73..b42c935ad331187a5be29c62f43cd7c78cc232f7 100644
--- a/Source/wtf/text/TextEncoding.h
+++ b/Source/wtf/text/TextEncoding.h
@@ -26,13 +26,14 @@
#ifndef TextEncoding_h
#define TextEncoding_h
-#include "wtf/text/TextCodec.h"
#include "wtf/Forward.h"
+#include "wtf/WTFExport.h"
+#include "wtf/text/TextCodec.h"
#include "wtf/unicode/Unicode.h"
namespace WTF {
-class TextEncoding {
+class WTF_EXPORT TextEncoding {
public:
TextEncoding() : m_name(0) { }
TextEncoding(const char* name);
@@ -85,14 +86,14 @@ private:
inline bool operator==(const TextEncoding& a, const TextEncoding& b) { return a.name() == b.name(); }
inline bool operator!=(const TextEncoding& a, const TextEncoding& b) { return a.name() != b.name(); }
-const TextEncoding& ASCIIEncoding();
-const TextEncoding& Latin1Encoding();
-const TextEncoding& UTF16BigEndianEncoding();
-const TextEncoding& UTF16LittleEndianEncoding();
-const TextEncoding& UTF32BigEndianEncoding();
-const TextEncoding& UTF32LittleEndianEncoding();
-const TextEncoding& UTF8Encoding();
-const TextEncoding& WindowsLatin1Encoding();
+WTF_EXPORT const TextEncoding& ASCIIEncoding();
+WTF_EXPORT const TextEncoding& Latin1Encoding();
+WTF_EXPORT const TextEncoding& UTF16BigEndianEncoding();
+WTF_EXPORT const TextEncoding& UTF16LittleEndianEncoding();
+WTF_EXPORT const TextEncoding& UTF32BigEndianEncoding();
+WTF_EXPORT const TextEncoding& UTF32LittleEndianEncoding();
+WTF_EXPORT const TextEncoding& UTF8Encoding();
+WTF_EXPORT const TextEncoding& WindowsLatin1Encoding();
} // namespace WTF
« no previous file with comments | « Source/wtf/text/StringStatics.cpp ('k') | Source/wtf/text/TextEncodingRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698