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_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 <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
| 11 #include <utility> |
11 | 12 |
12 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
13 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
15 #include "extensions/common/extension.h" | 16 #include "extensions/common/extension.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 namespace extensions { | 19 namespace extensions { |
19 | 20 |
20 // The one true extension container. Extensions are identified by their id. | 21 // The one true extension container. Extensions are identified by their id. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // discarding the set (e.g., on shutdown) and we do not want to track that as | 145 // discarding the set (e.g., on shutdown) and we do not want to track that as |
145 // a real modification. | 146 // a real modification. |
146 ModificationCallback modification_callback_; | 147 ModificationCallback modification_callback_; |
147 | 148 |
148 DISALLOW_COPY_AND_ASSIGN(ExtensionSet); | 149 DISALLOW_COPY_AND_ASSIGN(ExtensionSet); |
149 }; | 150 }; |
150 | 151 |
151 } // namespace extensions | 152 } // namespace extensions |
152 | 153 |
153 #endif // EXTENSIONS_COMMON_EXTENSION_SET_H_ | 154 #endif // EXTENSIONS_COMMON_EXTENSION_SET_H_ |
OLD | NEW |