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

Side by Side Diff: Source/wtf/text/TextCodec.h

Issue 431453004: wtf/Vector.h included more than necessary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « Source/wtf/ArrayBuffer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2006 Alexey Proskuryakov <ap@nypop.com> 3 * Copyright (C) 2006 Alexey Proskuryakov <ap@nypop.com>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef TextCodec_h 27 #ifndef TextCodec_h
28 #define TextCodec_h 28 #define TextCodec_h
29 29
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 #include "wtf/Noncopyable.h" 31 #include "wtf/Noncopyable.h"
32 #include "wtf/PassOwnPtr.h" 32 #include "wtf/PassOwnPtr.h"
33 #include "wtf/Vector.h"
34 #include "wtf/text/WTFString.h" 33 #include "wtf/text/WTFString.h"
35 #include "wtf/unicode/Unicode.h" 34 #include "wtf/unicode/Unicode.h"
36 35
37 namespace WTF { 36 namespace WTF {
38 37
39 class TextEncoding; 38 class TextEncoding;
40 39
41 // Specifies what will happen when a character is encountered that is 40 // Specifies what will happen when a character is encountered that is
42 // not encodable in the character set. 41 // not encodable in the character set.
43 enum UnencodableHandling { 42 enum UnencodableHandling {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 typedef void (*EncodingNameRegistrar)(const char* alias, const char* name); 96 typedef void (*EncodingNameRegistrar)(const char* alias, const char* name);
98 97
99 typedef PassOwnPtr<TextCodec> (*NewTextCodecFunction)(const TextEncoding&, const void* additionalData); 98 typedef PassOwnPtr<TextCodec> (*NewTextCodecFunction)(const TextEncoding&, const void* additionalData);
100 typedef void (*TextCodecRegistrar)(const char* name, NewTextCodecFunction, const void* additionalData); 99 typedef void (*TextCodecRegistrar)(const char* name, NewTextCodecFunction, const void* additionalData);
101 100
102 } // namespace WTF 101 } // namespace WTF
103 102
104 using WTF::TextCodec; 103 using WTF::TextCodec;
105 104
106 #endif // TextCodec_h 105 #endif // TextCodec_h
OLDNEW
« no previous file with comments | « Source/wtf/ArrayBuffer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698