OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "content/public/browser/notification_registrar.h" | 27 #include "content/public/browser/notification_registrar.h" |
28 #include "extensions/browser/crx_file_info.h" | 28 #include "extensions/browser/crx_file_info.h" |
29 #include "extensions/browser/extension_prefs.h" | 29 #include "extensions/browser/extension_prefs.h" |
30 #include "extensions/browser/external_provider_interface.h" | 30 #include "extensions/browser/external_provider_interface.h" |
31 #include "extensions/browser/install_flag.h" | 31 #include "extensions/browser/install_flag.h" |
32 #include "extensions/browser/process_manager.h" | 32 #include "extensions/browser/process_manager.h" |
33 #include "extensions/browser/uninstall_reason.h" | 33 #include "extensions/browser/uninstall_reason.h" |
34 #include "extensions/common/extension.h" | 34 #include "extensions/common/extension.h" |
35 #include "extensions/common/extension_set.h" | 35 #include "extensions/common/extension_set.h" |
36 #include "extensions/common/manifest.h" | 36 #include "extensions/common/manifest.h" |
| 37 #include "extensions/features/features.h" |
37 | 38 |
38 #if !defined(ENABLE_EXTENSIONS) | 39 #if !BUILDFLAG(ENABLE_EXTENSIONS) |
39 #error "Extensions must be enabled" | 40 #error "Extensions must be enabled" |
40 #endif | 41 #endif |
41 | 42 |
42 class GURL; | 43 class GURL; |
43 class HostContentSettingsMap; | 44 class HostContentSettingsMap; |
44 class Profile; | 45 class Profile; |
45 | 46 |
46 namespace base { | 47 namespace base { |
47 class CommandLine; | 48 class CommandLine; |
48 class SequencedTaskRunner; | 49 class SequencedTaskRunner; |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 GreylistUnknownDontChange); | 757 GreylistUnknownDontChange); |
757 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 758 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
758 ManagementPolicyProhibitsEnableOnInstalled); | 759 ManagementPolicyProhibitsEnableOnInstalled); |
759 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 760 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
760 BlockAndUnblockBlacklistedExtension); | 761 BlockAndUnblockBlacklistedExtension); |
761 | 762 |
762 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 763 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
763 }; | 764 }; |
764 | 765 |
765 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 766 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
OLD | NEW |