| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 const char* list_error, | 537 const char* list_error, |
| 538 const char* value_error, | 538 const char* value_error, |
| 539 string16* error); | 539 string16* error); |
| 540 bool LoadLaunchContainer(string16* error); | 540 bool LoadLaunchContainer(string16* error); |
| 541 bool LoadLaunchURL(string16* error); | 541 bool LoadLaunchURL(string16* error); |
| 542 | 542 |
| 543 bool LoadSharedFeatures(string16* error); | 543 bool LoadSharedFeatures(string16* error); |
| 544 bool LoadDescription(string16* error); | 544 bool LoadDescription(string16* error); |
| 545 bool LoadManifestVersion(string16* error); | 545 bool LoadManifestVersion(string16* error); |
| 546 bool LoadNaClModules(string16* error); | 546 bool LoadNaClModules(string16* error); |
| 547 bool LoadTextToSpeechVoices(string16* error); | |
| 548 | 547 |
| 549 // Returns true if the extension has more than one "UI surface". For example, | 548 // Returns true if the extension has more than one "UI surface". For example, |
| 550 // an extension that has a browser action and a page action. | 549 // an extension that has a browser action and a page action. |
| 551 bool HasMultipleUISurfaces() const; | 550 bool HasMultipleUISurfaces() const; |
| 552 | 551 |
| 553 // Updates the launch URL and extents for the extension using the given | 552 // Updates the launch URL and extents for the extension using the given |
| 554 // |override_url|. | 553 // |override_url|. |
| 555 void OverrideLaunchUrl(const GURL& override_url); | 554 void OverrideLaunchUrl(const GURL& override_url); |
| 556 | 555 |
| 557 // Custom checks for the experimental permission that can't be expressed in | 556 // Custom checks for the experimental permission that can't be expressed in |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 | 734 |
| 736 UpdatedExtensionPermissionsInfo( | 735 UpdatedExtensionPermissionsInfo( |
| 737 const Extension* extension, | 736 const Extension* extension, |
| 738 const PermissionSet* permissions, | 737 const PermissionSet* permissions, |
| 739 Reason reason); | 738 Reason reason); |
| 740 }; | 739 }; |
| 741 | 740 |
| 742 } // namespace extensions | 741 } // namespace extensions |
| 743 | 742 |
| 744 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 743 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |