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" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
13 #include "components/keyed_service/core/keyed_service.h" | 14 #include "components/keyed_service/core/keyed_service.h" |
14 #include "extensions/browser/uninstall_reason.h" | 15 #include "extensions/browser/uninstall_reason.h" |
15 #include "extensions/common/extension_set.h" | 16 #include "extensions/common/extension_set.h" |
16 | 17 |
17 #if !defined(ENABLE_EXTENSIONS) | 18 #if !defined(ENABLE_EXTENSIONS) |
18 #error "Extensions must be enabled" | 19 #error "Extensions must be enabled" |
19 #endif | 20 #endif |
20 | 21 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 base::ObserverList<ExtensionRegistryObserver> observers_; | 195 base::ObserverList<ExtensionRegistryObserver> observers_; |
195 | 196 |
196 content::BrowserContext* const browser_context_; | 197 content::BrowserContext* const browser_context_; |
197 | 198 |
198 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry); | 199 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry); |
199 }; | 200 }; |
200 | 201 |
201 } // namespace extensions | 202 } // namespace extensions |
202 | 203 |
203 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ | 204 #endif // EXTENSIONS_BROWSER_EXTENSION_REGISTRY_H_ |
OLD | NEW |