| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // discarding the set (e.g., on shutdown) and we do not want to track that as | 140 // discarding the set (e.g., on shutdown) and we do not want to track that as |
| 140 // a real modification. | 141 // a real modification. |
| 141 ModificationCallback modification_callback_; | 142 ModificationCallback modification_callback_; |
| 142 | 143 |
| 143 DISALLOW_COPY_AND_ASSIGN(ExtensionSet); | 144 DISALLOW_COPY_AND_ASSIGN(ExtensionSet); |
| 144 }; | 145 }; |
| 145 | 146 |
| 146 } // namespace extensions | 147 } // namespace extensions |
| 147 | 148 |
| 148 #endif // EXTENSIONS_COMMON_EXTENSION_SET_H_ | 149 #endif // EXTENSIONS_COMMON_EXTENSION_SET_H_ |
| OLD | NEW |