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

Side by Side Diff: base/id_map.h

Issue 16667019: Rename base/hash_tables to base/containers/hash_tables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/hash_tables.h ('k') | base/metrics/stats_table.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_ID_MAP_H_ 5 #ifndef BASE_ID_MAP_H_
6 #define BASE_ID_MAP_H_ 6 #define BASE_ID_MAP_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/hash_tables.h" 11 #include "base/containers/hash_tables.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
14 14
15 // Ownership semantics - own pointer means the pointer is deleted in Remove() 15 // Ownership semantics - own pointer means the pointer is deleted in Remove()
16 // & during destruction 16 // & during destruction
17 enum IDMapOwnershipSemantics { 17 enum IDMapOwnershipSemantics {
18 IDMapExternalPointer, 18 IDMapExternalPointer,
19 IDMapOwnPointer 19 IDMapOwnPointer
20 }; 20 };
21 21
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 HashTable data_; 249 HashTable data_;
250 250
251 // See description above setter. 251 // See description above setter.
252 bool check_on_null_data_; 252 bool check_on_null_data_;
253 253
254 DISALLOW_COPY_AND_ASSIGN(IDMap); 254 DISALLOW_COPY_AND_ASSIGN(IDMap);
255 }; 255 };
256 256
257 #endif // BASE_ID_MAP_H_ 257 #endif // BASE_ID_MAP_H_
OLDNEW
« no previous file with comments | « base/hash_tables.h ('k') | base/metrics/stats_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698