OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const char* atomicCanonicalTextEncodingName(const CharacterType*, size_t); | 46 const char* atomicCanonicalTextEncodingName(const CharacterType*, size_t); |
47 const char* atomicCanonicalTextEncodingName(const String&); | 47 const char* atomicCanonicalTextEncodingName(const String&); |
48 bool noExtendedTextEncodingNameUsed(); | 48 bool noExtendedTextEncodingNameUsed(); |
49 bool isReplacementEncoding(const char* alias); | 49 bool isReplacementEncoding(const char* alias); |
50 bool isReplacementEncoding(const String& alias); | 50 bool isReplacementEncoding(const String& alias); |
51 | 51 |
52 #ifndef NDEBUG | 52 #ifndef NDEBUG |
53 void dumpTextEncodingNameMap(); | 53 void dumpTextEncodingNameMap(); |
54 #endif | 54 #endif |
55 | 55 |
| 56 WTF_EXPORT Vector<String> getEncodingNamesForTesting(); |
| 57 |
56 } // namespace WTF | 58 } // namespace WTF |
57 | 59 |
58 using WTF::newTextCodec; | 60 using WTF::newTextCodec; |
59 using WTF::atomicCanonicalTextEncodingName; | 61 using WTF::atomicCanonicalTextEncodingName; |
60 using WTF::noExtendedTextEncodingNameUsed; | 62 using WTF::noExtendedTextEncodingNameUsed; |
61 #ifndef NDEBUG | 63 #ifndef NDEBUG |
62 using WTF::dumpTextEncodingNameMap; | 64 using WTF::dumpTextEncodingNameMap; |
63 #endif | 65 #endif |
64 | 66 |
65 #endif // TextEncodingRegistry_h | 67 #endif // TextEncodingRegistry_h |
OLD | NEW |