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

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

Issue 2004043002: Supervised Users Initiated Installs v2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kid_initiated_install
Patch Set: Fixing the build again! Created 4 years, 5 months 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 | « chrome/test/base/testing_profile.cc ('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 <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify 81 DISABLE_NOT_VERIFIED = 1 << 8, // Disabled because we could not verify
82 // the install. 82 // the install.
83 DISABLE_GREYLIST = 1 << 9, 83 DISABLE_GREYLIST = 1 << 9,
84 DISABLE_CORRUPTED = 1 << 10, 84 DISABLE_CORRUPTED = 1 << 10,
85 DISABLE_REMOTE_INSTALL = 1 << 11, 85 DISABLE_REMOTE_INSTALL = 1 << 11,
86 // DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Deprecated. 86 // DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Deprecated.
87 DISABLE_EXTERNAL_EXTENSION = 1 << 13, // External extensions might be 87 DISABLE_EXTERNAL_EXTENSION = 1 << 13, // External extensions might be
88 // disabled for user prompting. 88 // disabled for user prompting.
89 DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 14, // Doesn't meet minimum 89 DISABLE_UPDATE_REQUIRED_BY_POLICY = 1 << 14, // Doesn't meet minimum
90 // version requirement. 90 // version requirement.
91 DISABLE_REASON_LAST = 1 << 15, // This should always be the last value 91 DISABLE_CUSTODIAN_APPROVAL_REQUIRED = 1 << 15, // Supervised user needs
92 // approval by custodian.
93 DISABLE_REASON_LAST = 1 << 16, // This should always be the last value
92 }; 94 };
93 95
94 // A base class for parsed manifest data that APIs want to store on 96 // A base class for parsed manifest data that APIs want to store on
95 // the extension. Related to base::SupportsUserData, but with an immutable 97 // the extension. Related to base::SupportsUserData, but with an immutable
96 // thread-safe interface to match Extension. 98 // thread-safe interface to match Extension.
97 struct ManifestData { 99 struct ManifestData {
98 virtual ~ManifestData() {} 100 virtual ~ManifestData() {}
99 }; 101 };
100 102
101 // Do not change the order of entries or remove entries in this list 103 // Do not change the order of entries or remove entries in this list
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 const PermissionSet& permissions; 564 const PermissionSet& permissions;
563 565
564 UpdatedExtensionPermissionsInfo(const Extension* extension, 566 UpdatedExtensionPermissionsInfo(const Extension* extension,
565 const PermissionSet& permissions, 567 const PermissionSet& permissions,
566 Reason reason); 568 Reason reason);
567 }; 569 };
568 570
569 } // namespace extensions 571 } // namespace extensions
570 572
571 #endif // EXTENSIONS_COMMON_EXTENSION_H_ 573 #endif // EXTENSIONS_COMMON_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698