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

Side by Side Diff: extensions/common/extension_set.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 4 years, 12 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
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_EXTENSION_SET_H_ 5 #ifndef EXTENSIONS_COMMON_EXTENSION_SET_H_
6 #define EXTENSIONS_COMMON_EXTENSION_SET_H_ 6 #define EXTENSIONS_COMMON_EXTENSION_SET_H_
7 7
8 #include <stddef.h>
9
8 #include <iterator> 10 #include <iterator>
9 #include <map> 11 #include <map>
10 #include <string> 12 #include <string>
11 13
12 #include "base/callback.h" 14 #include "base/callback.h"
13 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
15 #include "extensions/common/extension.h" 18 #include "extensions/common/extension.h"
16 #include "url/gurl.h" 19 #include "url/gurl.h"
17 20
18 namespace extensions { 21 namespace extensions {
19 22
20 // The one true extension container. Extensions are identified by their id. 23 // The one true extension container. Extensions are identified by their id.
21 // Only one extension can be in the set with a given ID. 24 // Only one extension can be in the set with a given ID.
22 class ExtensionSet { 25 class ExtensionSet {
23 public: 26 public:
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // discarding the set (e.g., on shutdown) and we do not want to track that as 147 // discarding the set (e.g., on shutdown) and we do not want to track that as
145 // a real modification. 148 // a real modification.
146 ModificationCallback modification_callback_; 149 ModificationCallback modification_callback_;
147 150
148 DISALLOW_COPY_AND_ASSIGN(ExtensionSet); 151 DISALLOW_COPY_AND_ASSIGN(ExtensionSet);
149 }; 152 };
150 153
151 } // namespace extensions 154 } // namespace extensions
152 155
153 #endif // EXTENSIONS_COMMON_EXTENSION_SET_H_ 156 #endif // EXTENSIONS_COMMON_EXTENSION_SET_H_
OLDNEW
« no previous file with comments | « extensions/common/extension_resource_unittest.cc ('k') | extensions/common/extension_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698