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

Side by Side Diff: extensions/browser/api/declarative/deduping_factory.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BROWSER_API_DECLARATIVE_DEDUPING_FACTORY_H__ 5 #ifndef EXTENSIONS_BROWSER_API_DECLARATIVE_DEDUPING_FACTORY_H__
6 #define EXTENSIONS_BROWSER_API_DECLARATIVE_DEDUPING_FACTORY_H__ 6 #define EXTENSIONS_BROWSER_API_DECLARATIVE_DEDUPING_FACTORY_H__
7 7
8 #include <stddef.h>
9
8 #include <list> 10 #include <list>
9 #include <string> 11 #include <string>
10 12
11 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
12 #include "base/containers/hash_tables.h" 14 #include "base/containers/hash_tables.h"
13 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
15 #include "base/stl_util.h" 18 #include "base/stl_util.h"
16 19
17 namespace base { 20 namespace base {
18 class Value; 21 class Value;
19 } // namespace base 22 } // namespace base
20 23
21 namespace extensions { 24 namespace extensions {
22 25
23 // Factory class that stores a cache of the last |N| created objects of each 26 // Factory class that stores a cache of the last |N| created objects of each
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 173 }
171 174
172 template<typename BaseClassT> 175 template<typename BaseClassT>
173 void DedupingFactory<BaseClassT>::ClearPrototypes() { 176 void DedupingFactory<BaseClassT>::ClearPrototypes() {
174 prototypes_.clear(); 177 prototypes_.clear();
175 } 178 }
176 179
177 } // namespace extensions 180 } // namespace extensions
178 181
179 #endif // EXTENSIONS_BROWSER_API_DECLARATIVE_DEDUPING_FACTORY_H__ 182 #endif // EXTENSIONS_BROWSER_API_DECLARATIVE_DEDUPING_FACTORY_H__
OLDNEW
« no previous file with comments | « extensions/browser/api/declarative/declarative_rule.h ('k') | extensions/browser/api/declarative/deduping_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698