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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 DISABLE_PERMISSIONS_INCREASE = 1 << 1, | 86 DISABLE_PERMISSIONS_INCREASE = 1 << 1, |
87 DISABLE_RELOAD = 1 << 2, | 87 DISABLE_RELOAD = 1 << 2, |
88 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, | 88 DISABLE_UNSUPPORTED_REQUIREMENT = 1 << 3, |
89 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, | 89 DISABLE_SIDELOAD_WIPEOUT = 1 << 4, |
90 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, | 90 DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, |
91 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment. | 91 DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Unused - abandoned experiment. |
92 DISABLE_KNOWN_DISABLED = 1 << 7, | 92 DISABLE_KNOWN_DISABLED = 1 << 7, |
93 | 93 |
94 // Disabled because we could not verify the install. | 94 // Disabled because we could not verify the install. |
95 DISABLE_NOT_VERIFIED = 1 << 8, | 95 DISABLE_NOT_VERIFIED = 1 << 8, |
96 | |
not at google - send to devlin
2014/01/22 00:33:14
nit: no blank line here, remove blank line at 93.
| |
97 DISABLE_GREYLIST = 1 << 9 | |
96 }; | 98 }; |
97 | 99 |
98 enum InstallType { | 100 enum InstallType { |
99 INSTALL_ERROR, | 101 INSTALL_ERROR, |
100 DOWNGRADE, | 102 DOWNGRADE, |
101 REINSTALL, | 103 REINSTALL, |
102 UPGRADE, | 104 UPGRADE, |
103 NEW_INSTALL | 105 NEW_INSTALL |
104 }; | 106 }; |
105 | 107 |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
531 | 533 |
532 UpdatedExtensionPermissionsInfo( | 534 UpdatedExtensionPermissionsInfo( |
533 const Extension* extension, | 535 const Extension* extension, |
534 const PermissionSet* permissions, | 536 const PermissionSet* permissions, |
535 Reason reason); | 537 Reason reason); |
536 }; | 538 }; |
537 | 539 |
538 } // namespace extensions | 540 } // namespace extensions |
539 | 541 |
540 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 542 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
OLD | NEW |