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 | 7 |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <map> | 10 #include <map> |
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 const APIPermissionSet& api_permissions, | 888 const APIPermissionSet& api_permissions, |
889 string16* error); | 889 string16* error); |
890 bool LoadBackgroundAllowJSAccess( | 890 bool LoadBackgroundAllowJSAccess( |
891 const APIPermissionSet& api_permissions, | 891 const APIPermissionSet& api_permissions, |
892 string16* error); | 892 string16* error); |
893 // Parses a single action in the manifest. | 893 // Parses a single action in the manifest. |
894 bool LoadWebIntentAction(const std::string& action_name, | 894 bool LoadWebIntentAction(const std::string& action_name, |
895 const base::DictionaryValue& intent_service, | 895 const base::DictionaryValue& intent_service, |
896 string16* error); | 896 string16* error); |
897 bool LoadWebIntentServices(string16* error); | 897 bool LoadWebIntentServices(string16* error); |
| 898 bool LoadFileHandler(const std::string& handler_id, |
| 899 const base::DictionaryValue& handler_info, |
| 900 string16* error); |
| 901 bool LoadFileHandlers(string16* error); |
898 bool LoadExtensionFeatures(const APIPermissionSet& api_permissions, | 902 bool LoadExtensionFeatures(const APIPermissionSet& api_permissions, |
899 string16* error); | 903 string16* error); |
900 bool LoadDevToolsPage(string16* error); | 904 bool LoadDevToolsPage(string16* error); |
901 bool LoadInputComponents(const APIPermissionSet& api_permissions, | 905 bool LoadInputComponents(const APIPermissionSet& api_permissions, |
902 string16* error); | 906 string16* error); |
903 bool LoadContentScripts(string16* error); | 907 bool LoadContentScripts(string16* error); |
904 bool LoadPageAction(string16* error); | 908 bool LoadPageAction(string16* error); |
905 bool LoadBrowserAction(string16* error); | 909 bool LoadBrowserAction(string16* error); |
906 bool LoadScriptBadge(string16* error); | 910 bool LoadScriptBadge(string16* error); |
907 bool LoadFileBrowserHandlers(string16* error); | 911 bool LoadFileBrowserHandlers(string16* error); |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 | 1269 |
1266 UpdatedExtensionPermissionsInfo( | 1270 UpdatedExtensionPermissionsInfo( |
1267 const Extension* extension, | 1271 const Extension* extension, |
1268 const PermissionSet* permissions, | 1272 const PermissionSet* permissions, |
1269 Reason reason); | 1273 Reason reason); |
1270 }; | 1274 }; |
1271 | 1275 |
1272 } // namespace extensions | 1276 } // namespace extensions |
1273 | 1277 |
1274 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 1278 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |