| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 std::string* error, | 643 std::string* error, |
| 644 void(UserScript::*add_method)(const std::string& glob), | 644 void(UserScript::*add_method)(const std::string& glob), |
| 645 UserScript *instance); | 645 UserScript *instance); |
| 646 | 646 |
| 647 // Helpers to load various chunks of the manifest. | 647 // Helpers to load various chunks of the manifest. |
| 648 bool LoadExtent(const extensions::Manifest* manifest, | 648 bool LoadExtent(const extensions::Manifest* manifest, |
| 649 const char* key, | 649 const char* key, |
| 650 URLPatternSet* extent, | 650 URLPatternSet* extent, |
| 651 const char* list_error, | 651 const char* list_error, |
| 652 const char* value_error, | 652 const char* value_error, |
| 653 URLPattern::ParseOption parse_strictness, | 653 URLPattern::ParseOption parse_option, |
| 654 std::string* error); | 654 std::string* error); |
| 655 bool LoadLaunchContainer(const extensions::Manifest* manifest, | 655 bool LoadLaunchContainer(const extensions::Manifest* manifest, |
| 656 std::string* error); | 656 std::string* error); |
| 657 bool LoadLaunchURL(const extensions::Manifest* manifest, | 657 bool LoadLaunchURL(const extensions::Manifest* manifest, |
| 658 std::string* error); | 658 std::string* error); |
| 659 bool LoadAppIsolation(const extensions::Manifest* manifest, | 659 bool LoadAppIsolation(const extensions::Manifest* manifest, |
| 660 std::string* error); | 660 std::string* error); |
| 661 bool LoadWebIntentServices(const extensions::Manifest* manifest, | 661 bool LoadWebIntentServices(const extensions::Manifest* manifest, |
| 662 std::string* error); | 662 std::string* error); |
| 663 | 663 |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 // only contain the removed permissions. | 932 // only contain the removed permissions. |
| 933 const ExtensionPermissionSet* permissions; | 933 const ExtensionPermissionSet* permissions; |
| 934 | 934 |
| 935 UpdatedExtensionPermissionsInfo( | 935 UpdatedExtensionPermissionsInfo( |
| 936 const Extension* extension, | 936 const Extension* extension, |
| 937 const ExtensionPermissionSet* permissions, | 937 const ExtensionPermissionSet* permissions, |
| 938 Reason reason); | 938 Reason reason); |
| 939 }; | 939 }; |
| 940 | 940 |
| 941 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 941 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |