| 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 EXTENSIONS_COMMON_EXTENSION_H_ | 5 #ifndef EXTENSIONS_COMMON_EXTENSION_H_ |
| 6 #define EXTENSIONS_COMMON_EXTENSION_H_ | 6 #define EXTENSIONS_COMMON_EXTENSION_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, | 89 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, |
| 90 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, | 90 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, |
| 91 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, | 91 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, |
| 92 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated. | 92 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated. |
| 93 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. | 93 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. |
| 94 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify | 94 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify |
| 95 // the install. | 95 // the install. |
| 96 DISABLE_GREYLIST = 1 << 9, | 96 DISABLE_GREYLIST = 1 << 9, |
| 97 DISABLE_CORRUPTED = 1 << 10, | 97 DISABLE_CORRUPTED = 1 << 10, |
| 98 DISABLE_REMOTE_INSTALL = 1 << 11, | 98 DISABLE_REMOTE_INSTALL = 1 << 11, |
| 99 DISABLE_REASON_LAST = 1 << 12, // This should always be the last value | 99 DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Cached ephemeral apps are |
| 100 // disabled to prevent activity. |
| 101 DISABLE_REASON_LAST = 1 << 13, // This should always be the last value |
| 100 }; | 102 }; |
| 101 | 103 |
| 102 // A base class for parsed manifest data that APIs want to store on | 104 // A base class for parsed manifest data that APIs want to store on |
| 103 // the extension. Related to base::SupportsUserData, but with an immutable | 105 // the extension. Related to base::SupportsUserData, but with an immutable |
| 104 // thread-safe interface to match Extension. | 106 // thread-safe interface to match Extension. |
| 105 struct ManifestData { | 107 struct ManifestData { |
| 106 virtual ~ManifestData() {} | 108 virtual ~ManifestData() {} |
| 107 }; | 109 }; |
| 108 | 110 |
| 109 // Do not change the order of entries or remove entries in this list | 111 // Do not change the order of entries or remove entries in this list |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 | 561 |
| 560 UpdatedExtensionPermissionsInfo( | 562 UpdatedExtensionPermissionsInfo( |
| 561 const Extension* extension, | 563 const Extension* extension, |
| 562 const PermissionSet* permissions, | 564 const PermissionSet* permissions, |
| 563 Reason reason); | 565 Reason reason); |
| 564 }; | 566 }; |
| 565 | 567 |
| 566 } // namespace extensions | 568 } // namespace extensions |
| 567 | 569 |
| 568 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 570 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
| OLD | NEW |