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_ADMIN_POLICY_H_ | 5 #ifndef EXTENSIONS_BROWSER_ADMIN_POLICY_H_ |
6 #define EXTENSIONS_BROWSER_ADMIN_POLICY_H_ | 6 #define EXTENSIONS_BROWSER_ADMIN_POLICY_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
(...skipping 18 matching lines...) Expand all Loading... |
29 base::string16* error); | 29 base::string16* error); |
30 | 30 |
31 // Returns false if the extension is required to remain running. In practice | 31 // Returns false if the extension is required to remain running. In practice |
32 // this enforces the admin policy forcelist. | 32 // this enforces the admin policy forcelist. |
33 bool UserMayModifySettings(const Extension* extension, base::string16* error); | 33 bool UserMayModifySettings(const Extension* extension, base::string16* error); |
34 | 34 |
35 // Returns false if the extension is required to remain running. In practice | 35 // Returns false if the extension is required to remain running. In practice |
36 // this enforces the admin policy forcelist. | 36 // this enforces the admin policy forcelist. |
37 bool MustRemainEnabled(const Extension* extension, base::string16* error); | 37 bool MustRemainEnabled(const Extension* extension, base::string16* error); |
38 | 38 |
39 } // namespace | 39 } // namespace admin_policy |
40 } // namespace extensions | 40 } // namespace extensions |
41 | 41 |
42 #endif // EXTENSIONS_BROWSER_ADMIN_POLICY_H_ | 42 #endif // EXTENSIONS_BROWSER_ADMIN_POLICY_H_ |
OLD | NEW |