Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: extensions/common/extension.h

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review, Devlin review. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/common/constants.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 DEPRECATED_DISABLE_UNKNOWN_FROM_SYNC = 1 << 5, 97 DEPRECATED_DISABLE_UNKNOWN_FROM_SYNC = 1 << 5,
98 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated. 98 // DISABLE_PERMISSIONS_CONSENT = 1 << 6, // Deprecated.
99 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated. 99 // DISABLE_KNOWN_DISABLED = 1 << 7, // Deprecated.
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 DISABLE_REMOTE_INSTALL = 1 << 11,
105 DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Cached ephemeral apps are 105 // DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Deprecated.
106 // disabled to prevent activity. 106 DISABLE_EXTERNAL_EXTENSION = 1 << 13, // External extensions might be
107 DISABLE_EXTERNAL_EXTENSION = 1 << 13, // External extensions might be 107 // disabled for user prompting.
108 // disabled for user prompting.
109 DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 14, // Doesn't meet minimum 108 DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 14, // Doesn't meet minimum
110 // version requirement. 109 // version requirement.
111 DISABLE_REASON_LAST = 1 << 15, // This should always be the last value 110 DISABLE_REASON_LAST = 1 << 15, // This should always be the last value
112 }; 111 };
113 112
114 // A base class for parsed manifest data that APIs want to store on 113 // A base class for parsed manifest data that APIs want to store on
115 // the extension. Related to base::SupportsUserData, but with an immutable 114 // the extension. Related to base::SupportsUserData, but with an immutable
116 // thread-safe interface to match Extension. 115 // thread-safe interface to match Extension.
117 struct ManifestData { 116 struct ManifestData {
118 virtual ~ManifestData() {} 117 virtual ~ManifestData() {}
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 const PermissionSet& permissions; 581 const PermissionSet& permissions;
583 582
584 UpdatedExtensionPermissionsInfo(const Extension* extension, 583 UpdatedExtensionPermissionsInfo(const Extension* extension,
585 const PermissionSet& permissions, 584 const PermissionSet& permissions,
586 Reason reason); 585 Reason reason);
587 }; 586 };
588 587
589 } // namespace extensions 588 } // namespace extensions
590 589
591 #endif // EXTENSIONS_COMMON_EXTENSION_H_ 590 #endif // EXTENSIONS_COMMON_EXTENSION_H_
OLDNEW
« no previous file with comments | « extensions/common/constants.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698