OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 | 85 |
86 protected: | 86 protected: |
87 // The next ID that we will return from Add() | 87 // The next ID that we will return from Add() |
88 int32 next_id_; | 88 int32 next_id_; |
89 | 89 |
90 HashTable data_; | 90 HashTable data_; |
91 }; | 91 }; |
92 | 92 |
93 #endif // BASE_ID_MAP_H__ | 93 #endif // BASE_ID_MAP_H__ |
94 | |
OLD | NEW |