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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
97 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. | 97 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. |
98 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify | 98 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify |
99 // the install. | 99 // the install. |
100 DISABLE_GREYLIST = 1 << 9, | 100 DISABLE_GREYLIST = 1 << 9, |
101 DISABLE_CORRUPTED = 1 << 10, | 101 DISABLE_CORRUPTED = 1 << 10, |
102 DISABLE_REMOTE_INSTALL = 1 << 11, | 102 DISABLE_REMOTE_INSTALL = 1 << 11, |
103 DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Cached ephemeral apps are | 103 DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Cached ephemeral apps are |
104 // disabled to prevent activity. | 104 // disabled to prevent activity. |
105 DISABLE_EXTERNAL_EXTENSION = 1 << 13, // External extensions might be | 105 DISABLE_EXTERNAL_EXTENSION = 1 << 13, // External extensions might be |
106 // disabled for user prompting. | 106 // disabled for user prompting. |
107 DISABLE_REASON_LAST = 1 << 14, // This should always be the last value | 107 DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 14, |
Finnur
2014/11/19 10:16:26
Maybe comment:
// Doesn't meet minimum version req
binjin
2014/11/19 13:36:11
Done.
| |
108 DISABLE_REASON_LAST = 1 << 15, // This should always be the last value | |
108 }; | 109 }; |
109 | 110 |
110 // A base class for parsed manifest data that APIs want to store on | 111 // A base class for parsed manifest data that APIs want to store on |
111 // the extension. Related to base::SupportsUserData, but with an immutable | 112 // the extension. Related to base::SupportsUserData, but with an immutable |
112 // thread-safe interface to match Extension. | 113 // thread-safe interface to match Extension. |
113 struct ManifestData { | 114 struct ManifestData { |
114 virtual ~ManifestData() {} | 115 virtual ~ManifestData() {} |
115 }; | 116 }; |
116 | 117 |
117 // Do not change the order of entries or remove entries in this list | 118 // Do not change the order of entries or remove entries in this list |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
570 | 571 |
571 UpdatedExtensionPermissionsInfo( | 572 UpdatedExtensionPermissionsInfo( |
572 const Extension* extension, | 573 const Extension* extension, |
573 const PermissionSet* permissions, | 574 const PermissionSet* permissions, |
574 Reason reason); | 575 Reason reason); |
575 }; | 576 }; |
576 | 577 |
577 } // namespace extensions | 578 } // namespace extensions |
578 | 579 |
579 #endif // EXTENSIONS_COMMON_EXTENSION_H_ | 580 #endif // EXTENSIONS_COMMON_EXTENSION_H_ |
OLD | NEW |