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

Side by Side Diff: chrome/browser/policy/proto/cloud_policy.proto

Issue 6409040: New policy protobuf protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 //
2 // DO NOT MODIFY THIS FILE DIRECTLY!
3 // ITS IS GENERATED BY generate_policy_source.py
4 // FROM policy_templates.json
5 //
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package enterprise_management;
12
13 // PBs for individual settings.
14
15 message PolicyOptions {
16 enum PolicyMode {
17 // The user may choose to override the given settings.
18 RECOMMENDED = 1;
19 // The given settings are applied regardless of user choice.
20 MANDATORY = 2;
21 }
22 optional PolicyMode mode = 1;
23 }
24
25 message HomepageProto {
26 optional PolicyOptions policy_options = 1;
27 optional string HomepageLocation = 2;
28 optional bool HomepageIsNewTabPage = 3;
29 }
30
31 message ApplicationLocaleValueProto {
32 optional PolicyOptions policy_options = 1;
33 optional string ApplicationLocaleValue = 2;
34 }
35
36 message AlternateErrorPagesEnabledProto {
37 optional PolicyOptions policy_options = 1;
38 optional bool AlternateErrorPagesEnabled = 2;
39 }
40
41 message SearchSuggestEnabledProto {
42 optional PolicyOptions policy_options = 1;
43 optional bool SearchSuggestEnabled = 2;
44 }
45
46 message DnsPrefetchingEnabledProto {
47 optional PolicyOptions policy_options = 1;
48 optional bool DnsPrefetchingEnabled = 2;
49 }
50
51 message DisableSpdyProto {
52 optional PolicyOptions policy_options = 1;
53 optional bool DisableSpdy = 2;
54 }
55
56 message JavascriptEnabledProto {
57 optional PolicyOptions policy_options = 1;
58 optional bool JavascriptEnabled = 2;
59 }
60
61 message SavingBrowserHistoryDisabledProto {
62 optional PolicyOptions policy_options = 1;
63 optional bool SavingBrowserHistoryDisabled = 2;
64 }
65
66 message PrintingEnabledProto {
67 optional PolicyOptions policy_options = 1;
68 optional bool PrintingEnabled = 2;
69 }
70
71 message SafeBrowsingEnabledProto {
72 optional PolicyOptions policy_options = 1;
73 optional bool SafeBrowsingEnabled = 2;
74 }
75
76 message MetricsReportingEnabledProto {
77 optional PolicyOptions policy_options = 1;
78 optional bool MetricsReportingEnabled = 2;
79 }
80
81 message PasswordManagerProto {
82 optional PolicyOptions policy_options = 1;
83 optional bool PasswordManagerEnabled = 2;
84 optional bool PasswordManagerAllowShowPasswords = 3;
85 }
86
87 message AutoFillEnabledProto {
88 optional PolicyOptions policy_options = 1;
89 optional bool AutoFillEnabled = 2;
90 }
91
92 message DisabledPluginsProto {
93 optional PolicyOptions policy_options = 1;
94 repeated string DisabledPlugins = 2;
95 }
96
97 message SyncDisabledProto {
98 optional PolicyOptions policy_options = 1;
99 optional bool SyncDisabled = 2;
100 }
101
102 message ProxyProto {
103 optional PolicyOptions policy_options = 1;
104 optional string ProxyMode = 2;
105 optional int64 ProxyServerMode = 3;
106 optional string ProxyServer = 4;
107 optional string ProxyPacUrl = 5;
108 optional string ProxyBypassList = 6;
109 }
110
111 message HTTPAuthenticationProto {
112 optional PolicyOptions policy_options = 1;
113 optional string AuthSchemes = 2;
114 optional bool DisableAuthNegotiateCnameLookup = 3;
115 optional bool EnableAuthNegotiatePort = 4;
116 optional string AuthServerWhitelist = 5;
117 optional string AuthNegotiateDelegateWhitelist = 6;
118 optional string GSSAPILibraryName = 7;
119 }
120
121 message ExtensionsProto {
122 optional PolicyOptions policy_options = 1;
123 repeated string ExtensionInstallBlacklist = 2;
124 repeated string ExtensionInstallWhitelist = 3;
125 repeated string ExtensionInstallForcelist = 4;
126 }
127
128 message ShowHomeButtonProto {
129 optional PolicyOptions policy_options = 1;
130 optional bool ShowHomeButton = 2;
131 }
132
133 message DeveloperToolsDisabledProto {
134 optional PolicyOptions policy_options = 1;
135 optional bool DeveloperToolsDisabled = 2;
136 }
137
138 message RestoreOnStartupGroupProto {
139 optional PolicyOptions policy_options = 1;
140 optional int64 RestoreOnStartup = 2;
141 repeated string RestoreOnStartupURLs = 3;
142 }
143
144 message DefaultSearchProviderProto {
145 optional PolicyOptions policy_options = 1;
146 optional bool DefaultSearchProviderEnabled = 2;
147 optional string DefaultSearchProviderName = 3;
148 optional string DefaultSearchProviderKeyword = 4;
149 optional string DefaultSearchProviderSearchURL = 5;
150 optional string DefaultSearchProviderSuggestURL = 6;
151 optional string DefaultSearchProviderInstantURL = 7;
152 optional string DefaultSearchProviderIconURL = 8;
153 repeated string DefaultSearchProviderEncodings = 9;
154 }
155
156 message ContentSettingsProto {
157 optional PolicyOptions policy_options = 1;
158 optional int64 DefaultCookiesSetting = 2;
159 optional int64 DefaultImagesSetting = 3;
160 optional int64 DefaultJavaScriptSetting = 4;
161 optional int64 DefaultPluginsSetting = 5;
162 optional int64 DefaultPopupsSetting = 6;
163 optional int64 DefaultNotificationSetting = 7;
164 optional int64 DefaultGeolocationSetting = 8;
165 }
166
167 message Disable3DAPIsProto {
168 optional PolicyOptions policy_options = 1;
169 optional bool Disable3DAPIs = 2;
170 }
171
172 message ChromeFrameRendererSettingsProto {
173 optional PolicyOptions policy_options = 1;
174 optional int64 ChromeFrameRendererSettings = 2;
175 repeated string RenderInChromeFrameList = 3;
176 repeated string RenderInHostList = 4;
177 }
178
179 message ChromeFrameContentTypesProto {
180 optional PolicyOptions policy_options = 1;
181 repeated string ChromeFrameContentTypes = 2;
182 }
183
184 message ChromeOsLockOnIdleSuspendProto {
185 optional PolicyOptions policy_options = 1;
186 optional bool ChromeOsLockOnIdleSuspend = 2;
187 }
188
189
190 // --------------------------------------------------
191 // Wrapper PB for DMServer -> ChromeOS communication.
192
193 message CloudPolicySettings {
194 optional HomepageProto Homepage = 1;
195 optional ApplicationLocaleValueProto ApplicationLocaleValue = 2;
196 optional AlternateErrorPagesEnabledProto AlternateErrorPagesEnabled = 3;
197 optional SearchSuggestEnabledProto SearchSuggestEnabled = 4;
198 optional DnsPrefetchingEnabledProto DnsPrefetchingEnabled = 5;
199 optional DisableSpdyProto DisableSpdy = 6;
200 optional JavascriptEnabledProto JavascriptEnabled = 7;
201 optional SavingBrowserHistoryDisabledProto SavingBrowserHistoryDisabled = 8;
202 optional PrintingEnabledProto PrintingEnabled = 9;
203 optional SafeBrowsingEnabledProto SafeBrowsingEnabled = 10;
204 optional MetricsReportingEnabledProto MetricsReportingEnabled = 11;
205 optional PasswordManagerProto PasswordManager = 12;
206 optional AutoFillEnabledProto AutoFillEnabled = 13;
207 optional DisabledPluginsProto DisabledPlugins = 14;
208 optional SyncDisabledProto SyncDisabled = 15;
209 optional ProxyProto Proxy = 16;
210 optional HTTPAuthenticationProto HTTPAuthentication = 17;
211 optional ExtensionsProto Extensions = 18;
212 optional ShowHomeButtonProto ShowHomeButton = 19;
213 optional DeveloperToolsDisabledProto DeveloperToolsDisabled = 20;
214 optional RestoreOnStartupGroupProto RestoreOnStartupGroup = 21;
215 optional DefaultSearchProviderProto DefaultSearchProvider = 22;
216 optional ContentSettingsProto ContentSettings = 23;
217 optional Disable3DAPIsProto Disable3DAPIs = 24;
218 optional ChromeFrameRendererSettingsProto ChromeFrameRendererSettings = 25;
219 optional ChromeFrameContentTypesProto ChromeFrameContentTypes = 26;
220 optional ChromeOsLockOnIdleSuspendProto ChromeOsLockOnIdleSuspend = 27;
221 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/profile_policy_context.cc ('k') | chrome/browser/policy/proto/device_management_backend.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698