| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 DISABLE_USER_ACTION = 1 << 0, | 92 DISABLE_USER_ACTION = 1 << 0, |
| 93 DISABLE_PERMISSIONS_INCREASE = 1 << 1, | 93 DISABLE_PERMISSIONS_INCREASE = 1 << 1, |
| 94 DISABLE_RELOAD = 1 << 2, | 94 DISABLE_RELOAD = 1 << 2, |
| 95 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, | 95 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, |
| 96 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, | 96 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, |
| 97 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, | 97 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, |
| 98 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment. | 98 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment. |
| 99 DISABLE_KNOWN_DISABLED = 1 << 7, | 99 DISABLE_KNOWN_DISABLED = 1 << 7, |
| 100 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify | 100 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify |
| 101 // the install. | 101 // the install. |
| 102 DISABLE_GREYLIST = 1 << 9 | 102 DISABLE_GREYLIST = 1 << 9, |
| 103 DISABLE_REMOTE_INSTALL = 1 << 10 |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 enum InstallType { | 106 enum InstallType { |
| 106 INSTALL_ERROR, | 107 INSTALL_ERROR, |
| 107 DOWNGRADE, | 108 DOWNGRADE, |
| 108 REINSTALL, | 109 REINSTALL, |
| 109 UPGRADE, | 110 UPGRADE, |
| 110 NEW_INSTALL | 111 NEW_INSTALL |
| 111 }; | 112 }; |
| 112 | 113 |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 | 548 |
| 548 UpdatedExtensionPermissionsInfo( | 549 UpdatedExtensionPermissionsInfo( |
| 549 const Extension* extension, | 550 const Extension* extension, |
| 550 const PermissionSet* permissions, | 551 const PermissionSet* permissions, |
| 551 Reason reason); | 552 Reason reason); |
| 552 }; | 553 }; |
| 553 | 554 |
| 554 } // namespace extensions | 555 } // namespace extensions |
| 555 | 556 |
| 556 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 557 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
| OLD | NEW |