| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 DEPRECATED_DISABLE_PERMISSIONS_INCREASE, | 109 DEPRECATED_DISABLE_PERMISSIONS_INCREASE, |
| 110 DEPRECATED_DISABLE_RELOAD, | 110 DEPRECATED_DISABLE_RELOAD, |
| 111 DEPRECATED_DISABLE_LAST, // Not used. | 111 DEPRECATED_DISABLE_LAST, // Not used. |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 enum DisableReason { | 114 enum DisableReason { |
| 115 DISABLE_NONE = 0, | 115 DISABLE_NONE = 0, |
| 116 DISABLE_USER_ACTION = 1 << 0, | 116 DISABLE_USER_ACTION = 1 << 0, |
| 117 DISABLE_PERMISSIONS_INCREASE = 1 << 1, | 117 DISABLE_PERMISSIONS_INCREASE = 1 << 1, |
| 118 DISABLE_RELOAD = 1 << 2, | 118 DISABLE_RELOAD = 1 << 2, |
| 119 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3 | 119 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, |
| 120 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 enum InstallType { | 123 enum InstallType { |
| 123 INSTALL_ERROR, | 124 INSTALL_ERROR, |
| 124 DOWNGRADE, | 125 DOWNGRADE, |
| 125 REINSTALL, | 126 REINSTALL, |
| 126 UPGRADE, | 127 UPGRADE, |
| 127 NEW_INSTALL | 128 NEW_INSTALL |
| 128 }; | 129 }; |
| 129 | 130 |
| (...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1264 | 1265 |
| 1265 UpdatedExtensionPermissionsInfo( | 1266 UpdatedExtensionPermissionsInfo( |
| 1266 const Extension* extension, | 1267 const Extension* extension, |
| 1267 const PermissionSet* permissions, | 1268 const PermissionSet* permissions, |
| 1268 Reason reason); | 1269 Reason reason); |
| 1269 }; | 1270 }; |
| 1270 | 1271 |
| 1271 } // namespace extensions | 1272 } // namespace extensions |
| 1272 | 1273 |
| 1273 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 1274 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |