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

Side by Side Diff: third_party/WebKit/Source/wtf/WTFThreadData.h

Issue 2110813003: Move all the AtomicString table into AtomicStringTable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments. Created 4 years, 5 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 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 15 matching lines...) Expand all
26 26
27 #ifndef WTFThreadData_h 27 #ifndef WTFThreadData_h
28 #define WTFThreadData_h 28 #define WTFThreadData_h
29 29
30 #include "wtf/HashMap.h" 30 #include "wtf/HashMap.h"
31 #include "wtf/HashSet.h" 31 #include "wtf/HashSet.h"
32 #include "wtf/Noncopyable.h" 32 #include "wtf/Noncopyable.h"
33 #include "wtf/ThreadSpecific.h" 33 #include "wtf/ThreadSpecific.h"
34 #include "wtf/Threading.h" 34 #include "wtf/Threading.h"
35 #include "wtf/WTFExport.h" 35 #include "wtf/WTFExport.h"
36 #include "wtf/text/AtomicStringTable.h"
37 #include "wtf/text/StringHash.h" 36 #include "wtf/text/StringHash.h"
38 #include <memory> 37 #include <memory>
39 38
40 namespace blink { 39 namespace blink {
41 40
42 // TODO(hajimehoshi): CompressibleStringTable should be moved from blink to WTF 41 // TODO(hajimehoshi): CompressibleStringTable should be moved from blink to WTF
43 // namespace. Fix this forward declaration when we do this. 42 // namespace. Fix this forward declaration when we do this.
44 class CompressibleStringTable; 43 class CompressibleStringTable;
45 44
46 typedef void (*CompressibleStringTableDestructor)(CompressibleStringTable*); 45 typedef void (*CompressibleStringTableDestructor)(CompressibleStringTable*);
47 46
48 } 47 }
49 48
50 namespace WTF { 49 namespace WTF {
51 50
51 class AtomicStringTable;
52 struct ICUConverterWrapper; 52 struct ICUConverterWrapper;
53 53
54 class WTF_EXPORT WTFThreadData { 54 class WTF_EXPORT WTFThreadData {
55 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 55 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
56 WTF_MAKE_NONCOPYABLE(WTFThreadData); 56 WTF_MAKE_NONCOPYABLE(WTFThreadData);
57 public: 57 public:
58 WTFThreadData(); 58 WTFThreadData();
59 ~WTFThreadData(); 59 ~WTFThreadData();
60 60
61 AtomicStringTable& getAtomicStringTable() 61 AtomicStringTable& getAtomicStringTable()
(...skipping 27 matching lines...) Expand all
89 WTFThreadData::staticData = new ThreadSpecific<WTFThreadData>; 89 WTFThreadData::staticData = new ThreadSpecific<WTFThreadData>;
90 return **WTFThreadData::staticData; 90 return **WTFThreadData::staticData;
91 } 91 }
92 92
93 } // namespace WTF 93 } // namespace WTF
94 94
95 using WTF::WTFThreadData; 95 using WTF::WTFThreadData;
96 using WTF::wtfThreadData; 96 using WTF::wtfThreadData;
97 97
98 #endif // WTFThreadData_h 98 #endif // WTFThreadData_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/CoreInitializer.cpp ('k') | third_party/WebKit/Source/wtf/WTFThreadData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698