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

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

Issue 1881983003: Move PartitionAlloc related things into wtf/allocator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 David Levin <levin@chromium.org> 3 * Copyright (C) 2008 David Levin <levin@chromium.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public L icense for more details. 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABIL ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public L icense for more details.
12 * 12 *
13 * You should have received a copy of the GNU Library General Public License 13 * You should have received a copy of the GNU Library General Public License
14 * along with this library; see the file COPYING.LIB. If not, write to 14 * along with this library; see the file COPYING.LIB. If not, write to
15 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 15 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 * Boston, MA 02110-1301, USA. 16 * Boston, MA 02110-1301, USA.
17 * 17 *
18 */ 18 */
19 19
20 #ifndef WTF_HashTable_h 20 #ifndef WTF_HashTable_h
21 #define WTF_HashTable_h 21 #define WTF_HashTable_h
22 22
23 #include "wtf/Alignment.h" 23 #include "wtf/Alignment.h"
24 #include "wtf/Allocator.h" 24 #include "wtf/Allocator.h"
25 #include "wtf/Assertions.h" 25 #include "wtf/Assertions.h"
26 #include "wtf/ConditionalDestructor.h" 26 #include "wtf/ConditionalDestructor.h"
27 #include "wtf/HashTraits.h" 27 #include "wtf/HashTraits.h"
28 #include "wtf/PartitionAllocator.h" 28 #include "wtf/allocator/PartitionAllocator.h"
29 29
30 #define DUMP_HASHTABLE_STATS 0 30 #define DUMP_HASHTABLE_STATS 0
31 #define DUMP_HASHTABLE_STATS_PER_TABLE 0 31 #define DUMP_HASHTABLE_STATS_PER_TABLE 0
32 32
33 #if DUMP_HASHTABLE_STATS_PER_TABLE 33 #if DUMP_HASHTABLE_STATS_PER_TABLE
34 #include "wtf/DataLog.h" 34 #include "wtf/DataLog.h"
35 #endif 35 #endif
36 36
37 #if DUMP_HASHTABLE_STATS 37 #if DUMP_HASHTABLE_STATS
38 #if DUMP_HASHTABLE_STATS_PER_TABLE 38 #if DUMP_HASHTABLE_STATS_PER_TABLE
(...skipping 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 CollectionIterator end(toBeRemoved.end()); 1522 CollectionIterator end(toBeRemoved.end());
1523 for (CollectionIterator it(toBeRemoved.begin()); it != end; ++it) 1523 for (CollectionIterator it(toBeRemoved.begin()); it != end; ++it)
1524 collection.remove(*it); 1524 collection.remove(*it);
1525 } 1525 }
1526 1526
1527 } // namespace WTF 1527 } // namespace WTF
1528 1528
1529 #include "wtf/HashIterators.h" 1529 #include "wtf/HashIterators.h"
1530 1530
1531 #endif // WTF_HashTable_h 1531 #endif // WTF_HashTable_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698