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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_CORRUPTED = 1 << 10, | 103 DISABLE_CORRUPTED = 1 << 10, |
| 104 DISABLE_REMOTE_INSTALL = 1 << 11 |
104 }; | 105 }; |
105 | 106 |
106 enum InstallType { | 107 enum InstallType { |
107 INSTALL_ERROR, | 108 INSTALL_ERROR, |
108 DOWNGRADE, | 109 DOWNGRADE, |
109 REINSTALL, | 110 REINSTALL, |
110 UPGRADE, | 111 UPGRADE, |
111 NEW_INSTALL | 112 NEW_INSTALL |
112 }; | 113 }; |
113 | 114 |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 556 |
556 UpdatedExtensionPermissionsInfo( | 557 UpdatedExtensionPermissionsInfo( |
557 const Extension* extension, | 558 const Extension* extension, |
558 const PermissionSet* permissions, | 559 const PermissionSet* permissions, |
559 Reason reason); | 560 Reason reason); |
560 }; | 561 }; |
561 | 562 |
562 } // namespace extensions | 563 } // namespace extensions |
563 | 564 |
564 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 565 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
OLD | NEW |