OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ |
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ | 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 // configuration_policy_type.h is generated. See policy_template.json for |
| 11 // policy definitions. |
| 12 #include "policy/configuration_policy_type.h" |
10 | 13 |
11 class Value; | 14 class Value; |
12 | 15 |
13 namespace policy { | 16 namespace policy { |
14 | 17 |
15 enum ConfigurationPolicyType { | |
16 kPolicyHomePage, | |
17 kPolicyHomepageIsNewTabPage, | |
18 kPolicyRestoreOnStartup, | |
19 kPolicyURLsToRestoreOnStartup, | |
20 kPolicyDefaultSearchProviderEnabled, | |
21 kPolicyDefaultSearchProviderName, | |
22 kPolicyDefaultSearchProviderKeyword, | |
23 kPolicyDefaultSearchProviderSearchURL, | |
24 kPolicyDefaultSearchProviderSuggestURL, | |
25 kPolicyDefaultSearchProviderIconURL, | |
26 kPolicyDefaultSearchProviderInstantURL, | |
27 kPolicyDefaultSearchProviderEncodings, | |
28 kPolicyDisableSpdy, | |
29 kPolicyProxyMode, | |
30 kPolicyProxyServerMode, | |
31 kPolicyProxyServer, | |
32 kPolicyProxyPacUrl, | |
33 kPolicyProxyBypassList, | |
34 kPolicyAlternateErrorPagesEnabled, | |
35 kPolicySearchSuggestEnabled, | |
36 kPolicyDnsPrefetchingEnabled, | |
37 kPolicySafeBrowsingEnabled, | |
38 kPolicyMetricsReportingEnabled, | |
39 kPolicyPasswordManagerEnabled, | |
40 kPolicyPasswordManagerAllowShowPasswords, | |
41 kPolicyAutoFillEnabled, | |
42 kPolicySyncDisabled, | |
43 kPolicyApplicationLocale, | |
44 kPolicyExtensionInstallAllowList, | |
45 kPolicyExtensionInstallDenyList, | |
46 kPolicyShowHomeButton, | |
47 kPolicyDisabledPlugins, | |
48 kPolicyPrintingEnabled, | |
49 kPolicyChromeFrameRendererSettings, | |
50 kPolicyRenderInChromeFrameList, | |
51 kPolicyRenderInHostList, | |
52 kPolicyJavascriptEnabled, | |
53 kPolicySavingBrowserHistoryDisabled, | |
54 kPolicyDeveloperToolsDisabled, | |
55 kPolicyBlockThirdPartyCookies, | |
56 kPolicyDefaultCookiesSetting, | |
57 kPolicyDefaultImagesSetting, | |
58 kPolicyDefaultJavaScriptSetting, | |
59 kPolicyDefaultPluginsSetting, | |
60 kPolicyDefaultPopupsSetting, | |
61 kPolicyDefaultNotificationSetting, | |
62 kPolicyDefaultGeolocationSetting, | |
63 kPolicyExtensionInstallForceList, | |
64 kPolicyChromeOsLockOnIdleSuspend, | |
65 kPolicyAuthSchemes, | |
66 kPolicyDisableAuthNegotiateCnameLookup, | |
67 kPolicyEnableAuthNegotiatePort, | |
68 kPolicyAuthServerWhitelist, | |
69 kPolicyAuthNegotiateDelegateWhitelist, | |
70 kPolicyGSSAPILibraryName, | |
71 kPolicyDisable3DAPIs, | |
72 kPolicyPolicyRefreshRate, | |
73 }; | |
74 | |
75 | |
76 // Constants for the "Proxy Server Mode" defined in the policies. | 18 // Constants for the "Proxy Server Mode" defined in the policies. |
77 // Note that these diverge from internal presentation defined in | 19 // Note that these diverge from internal presentation defined in |
78 // ProxyPrefs::ProxyMode for legacy reasons. The following four | 20 // ProxyPrefs::ProxyMode for legacy reasons. The following four |
79 // PolicyProxyModeType types were not very precise and had overlapping use | 21 // PolicyProxyModeType types were not very precise and had overlapping use |
80 // cases. | 22 // cases. |
81 enum PolicyProxyModeType { | 23 enum PolicyProxyModeType { |
82 // Disable Proxy, connect directly. | 24 // Disable Proxy, connect directly. |
83 kPolicyNoProxyServerMode = 0, | 25 kPolicyNoProxyServerMode = 0, |
84 // Auto detect proxy or use specific PAC script if given. | 26 // Auto detect proxy or use specific PAC script if given. |
85 kPolicyAutoDetectProxyServerMode = 1, | 27 kPolicyAutoDetectProxyServerMode = 1, |
(...skipping 19 matching lines...) Expand all Loading... |
105 protected: | 47 protected: |
106 ConfigurationPolicyStoreInterface() {} | 48 ConfigurationPolicyStoreInterface() {} |
107 | 49 |
108 private: | 50 private: |
109 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStoreInterface); | 51 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStoreInterface); |
110 }; | 52 }; |
111 | 53 |
112 } // namespace policy | 54 } // namespace policy |
113 | 55 |
114 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ | 56 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_ |
OLD | NEW |