OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_MANAGEMENT_POLICY_H_ | 5 #ifndef EXTENSIONS_BROWSER_MANAGEMENT_POLICY_H_ |
6 #define EXTENSIONS_BROWSER_MANAGEMENT_POLICY_H_ | 6 #define EXTENSIONS_BROWSER_MANAGEMENT_POLICY_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
13 #include "extensions/common/extension.h" | 13 #include "extensions/common/extension.h" |
14 | 14 |
15 namespace extensions { | 15 namespace extensions { |
16 | 16 |
17 // This class registers providers that want to prohibit certain actions from | 17 // This class registers providers that want to prohibit certain actions from |
18 // being applied to extensions. It must be called, via the ExtensionService, | 18 // being applied to extensions. It must be called, via the ExtensionService, |
19 // before allowing a user or a user-level mechanism to perform the respective | 19 // before allowing a user or a user-level mechanism to perform the respective |
20 // action. (That is, installing or otherwise modifying an extension in order | 20 // action. (That is, installing or otherwise modifying an extension in order |
21 // to conform to enterprise administrator policy must be exempted from these | 21 // to conform to enterprise administrator policy must be exempted from these |
22 // checks.) | 22 // checks.) |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 base::string16* error) const; | 155 base::string16* error) const; |
156 | 156 |
157 ProviderList providers_; | 157 ProviderList providers_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(ManagementPolicy); | 159 DISALLOW_COPY_AND_ASSIGN(ManagementPolicy); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace extensions | 162 } // namespace extensions |
163 | 163 |
164 #endif // EXTENSIONS_BROWSER_MANAGEMENT_POLICY_H_ | 164 #endif // EXTENSIONS_BROWSER_MANAGEMENT_POLICY_H_ |
OLD | NEW |