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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 DISABLE_RELOAD = 1 << 2, | 91 DISABLE_RELOAD = 1 << 2, |
92 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, | 92 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, |
93 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, | 93 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, |
94 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, | 94 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, |
95 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated. | 95 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated. |
96 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. | 96 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. |
97 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify | 97 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify |
98 // the install. | 98 // the install. |
99 DISABLE_GREYLIST = 1 << 9, | 99 DISABLE_GREYLIST = 1 << 9, |
100 DISABLE_CORRUPTED = 1 << 10, | 100 DISABLE_CORRUPTED = 1 << 10, |
101 DISABLE_REMOTE_INSTALL = 1 << 11 | 101 DISABLE_REMOTE_INSTALL = 1 << 11, |
| 102 DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12 // Cached ephemeral apps are |
| 103 // disabled to prevent activity. |
102 }; | 104 }; |
103 | 105 |
104 enum InstallType { | 106 enum InstallType { |
105 INSTALL_ERROR, | 107 INSTALL_ERROR, |
106 DOWNGRADE, | 108 DOWNGRADE, |
107 REINSTALL, | 109 REINSTALL, |
108 UPGRADE, | 110 UPGRADE, |
109 NEW_INSTALL | 111 NEW_INSTALL |
110 }; | 112 }; |
111 | 113 |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 | 564 |
563 UpdatedExtensionPermissionsInfo( | 565 UpdatedExtensionPermissionsInfo( |
564 const Extension* extension, | 566 const Extension* extension, |
565 const PermissionSet* permissions, | 567 const PermissionSet* permissions, |
566 Reason reason); | 568 Reason reason); |
567 }; | 569 }; |
568 | 570 |
569 } // namespace extensions | 571 } // namespace extensions |
570 | 572 |
571 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 573 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
OLD | NEW |