OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 EXTENSIONS_COMMON_PERMISSIONS_BASE_SET_OPERATORS_H_ | 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_BASE_SET_OPERATORS_H_ |
6 #define EXTENSIONS_COMMON_PERMISSIONS_BASE_SET_OPERATORS_H_ | 6 #define EXTENSIONS_COMMON_PERMISSIONS_BASE_SET_OPERATORS_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <iterator> | 10 #include <iterator> |
9 #include <map> | 11 #include <map> |
10 | 12 |
11 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
12 #include "base/template_util.h" | 14 #include "base/template_util.h" |
13 | 15 |
14 namespace extensions { | 16 namespace extensions { |
15 | 17 |
16 // Traits for template paramater of |BaseSetOperators<T>|. Specializations | 18 // Traits for template paramater of |BaseSetOperators<T>|. Specializations |
17 // should define |ElementType| for the type of elements to store in the set, | 19 // should define |ElementType| for the type of elements to store in the set, |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 map_.clear(); | 281 map_.clear(); |
280 } | 282 } |
281 | 283 |
282 private: | 284 private: |
283 Map map_; | 285 Map map_; |
284 }; | 286 }; |
285 | 287 |
286 } // namespace extensions | 288 } // namespace extensions |
287 | 289 |
288 #endif // EXTENSIONS_COMMON_PERMISSIONS_BASE_SET_OPERATORS_H_ | 290 #endif // EXTENSIONS_COMMON_PERMISSIONS_BASE_SET_OPERATORS_H_ |
OLD | NEW |