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_BROWSER_EXTENSION_REGISTRY_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ |
6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 176 |
177 // Extensions that are installed and blacklisted. Generally these shouldn't be | 177 // Extensions that are installed and blacklisted. Generally these shouldn't be |
178 // considered as installed by the extension platform: we only keep them around | 178 // considered as installed by the extension platform: we only keep them around |
179 // so that if extensions are blacklisted by mistake they can easily be | 179 // so that if extensions are blacklisted by mistake they can easily be |
180 // un-blacklisted. | 180 // un-blacklisted. |
181 ExtensionSet blacklisted_extensions_; | 181 ExtensionSet blacklisted_extensions_; |
182 | 182 |
183 // Extensions that are installed and blocked. Will never be loaded. | 183 // Extensions that are installed and blocked. Will never be loaded. |
184 ExtensionSet blocked_extensions_; | 184 ExtensionSet blocked_extensions_; |
185 | 185 |
186 ObserverList<ExtensionRegistryObserver> observers_; | 186 base::ObserverList<ExtensionRegistryObserver> observers_; |
187 | 187 |
188 content::BrowserContext* const browser_context_; | 188 content::BrowserContext* const browser_context_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry); | 190 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry); |
191 }; | 191 }; |
192 | 192 |
193 } // namespace extensions | 193 } // namespace extensions |
194 | 194 |
195 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ | 195 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ |
OLD | NEW |