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_COMMON_EXTENSIONS_EXTENSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 bool LoadCommands(string16* error); | 746 bool LoadCommands(string16* error); |
747 bool LoadPlugins(string16* error); | 747 bool LoadPlugins(string16* error); |
748 bool LoadNaClModules(string16* error); | 748 bool LoadNaClModules(string16* error); |
749 bool LoadWebAccessibleResources(string16* error); | 749 bool LoadWebAccessibleResources(string16* error); |
750 bool LoadSandboxedPages(string16* error); | 750 bool LoadSandboxedPages(string16* error); |
751 bool CheckRequirements(string16* error); | 751 bool CheckRequirements(string16* error); |
752 bool LoadDefaultLocale(string16* error); | 752 bool LoadDefaultLocale(string16* error); |
753 bool LoadOfflineEnabled(string16* error); | 753 bool LoadOfflineEnabled(string16* error); |
754 bool LoadOptionsPage(string16* error); | 754 bool LoadOptionsPage(string16* error); |
755 bool LoadBackgroundScripts(string16* error); | 755 bool LoadBackgroundScripts(string16* error); |
| 756 bool LoadBackgroundScripts(const std::string& key, string16* error); |
756 bool LoadBackgroundPage(const ExtensionAPIPermissionSet& api_permissions, | 757 bool LoadBackgroundPage(const ExtensionAPIPermissionSet& api_permissions, |
757 string16* error); | 758 string16* error); |
| 759 bool LoadBackgroundPage(const std::string& key, |
| 760 const ExtensionAPIPermissionSet& api_permissions, |
| 761 string16* error); |
758 bool LoadBackgroundPersistent( | 762 bool LoadBackgroundPersistent( |
759 const ExtensionAPIPermissionSet& api_permissions, | 763 const ExtensionAPIPermissionSet& api_permissions, |
760 string16* error); | 764 string16* error); |
761 bool LoadBackgroundAllowJSAccess( | 765 bool LoadBackgroundAllowJSAccess( |
762 const ExtensionAPIPermissionSet& api_permissions, | 766 const ExtensionAPIPermissionSet& api_permissions, |
763 string16* error); | 767 string16* error); |
764 // Parses a single action in the manifest. | 768 // Parses a single action in the manifest. |
765 bool LoadWebIntentAction(const std::string& action_name, | 769 bool LoadWebIntentAction(const std::string& action_name, |
766 const base::DictionaryValue& intent_service, | 770 const base::DictionaryValue& intent_service, |
767 string16* error); | 771 string16* error); |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 | 1136 |
1133 UpdatedExtensionPermissionsInfo( | 1137 UpdatedExtensionPermissionsInfo( |
1134 const Extension* extension, | 1138 const Extension* extension, |
1135 const ExtensionPermissionSet* permissions, | 1139 const ExtensionPermissionSet* permissions, |
1136 Reason reason); | 1140 Reason reason); |
1137 }; | 1141 }; |
1138 | 1142 |
1139 } // namespace extensions | 1143 } // namespace extensions |
1140 | 1144 |
1141 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 1145 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |