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

Side by Side Diff: third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. 3 * Copyright (C) 2007-2009 Torch Mobile, Inc.
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 13 matching lines...) Expand all
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 #include "wtf/text/TextEncodingRegistry.h" 27 #include "wtf/text/TextEncodingRegistry.h"
28 28
29 #include "wtf/ASCIICType.h" 29 #include "wtf/ASCIICType.h"
30 #include "wtf/Atomics.h" 30 #include "wtf/Atomics.h"
31 #include "wtf/CurrentTime.h" 31 #include "wtf/CurrentTime.h"
32 #include "wtf/HashMap.h" 32 #include "wtf/HashMap.h"
33 #include "wtf/HashSet.h" 33 #include "wtf/HashSet.h"
34 #include "wtf/MainThread.h"
35 #include "wtf/StdLibExtras.h" 34 #include "wtf/StdLibExtras.h"
36 #include "wtf/StringExtras.h" 35 #include "wtf/StringExtras.h"
37 #include "wtf/ThreadingPrimitives.h" 36 #include "wtf/ThreadingPrimitives.h"
38 #include "wtf/text/CString.h" 37 #include "wtf/text/CString.h"
39 #include "wtf/text/TextCodecICU.h" 38 #include "wtf/text/TextCodecICU.h"
40 #include "wtf/text/TextCodecLatin1.h" 39 #include "wtf/text/TextCodecLatin1.h"
41 #include "wtf/text/TextCodecReplacement.h" 40 #include "wtf/text/TextCodecReplacement.h"
42 #include "wtf/text/TextCodecUTF16.h" 41 #include "wtf/text/TextCodecUTF16.h"
43 #include "wtf/text/TextCodecUTF8.h" 42 #include "wtf/text/TextCodecUTF8.h"
44 #include "wtf/text/TextCodecUserDefined.h" 43 #include "wtf/text/TextCodecUserDefined.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 MutexLocker lock(encodingRegistryMutex()); 324 MutexLocker lock(encodingRegistryMutex());
326 325
327 TextEncodingNameMap::const_iterator it = textEncodingNameMap->begin(); 326 TextEncodingNameMap::const_iterator it = textEncodingNameMap->begin();
328 TextEncodingNameMap::const_iterator end = textEncodingNameMap->end(); 327 TextEncodingNameMap::const_iterator end = textEncodingNameMap->end();
329 for (; it != end; ++it) 328 for (; it != end; ++it)
330 fprintf(stderr, "'%s' => '%s'\n", it->key, it->value); 329 fprintf(stderr, "'%s' => '%s'\n", it->key, it->value);
331 } 330 }
332 #endif 331 #endif
333 332
334 } // namespace WTF 333 } // namespace WTF
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringStatics.cpp ('k') | third_party/WebKit/Source/wtf/wtf.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698