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

Side by Side Diff: extensions/common/permissions/base_set_operators.h

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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 // 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
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_
OLDNEW
« no previous file with comments | « extensions/common/permissions/api_permission_set.h ('k') | extensions/common/permissions/extensions_api_permissions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698