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

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

Issue 6869042: Add immutable settings checks when handling policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, address comments Created 9 years, 8 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package enterprise_management; 9 package enterprise_management;
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // This is the last policy timestamp that client received from server. 100 // This is the last policy timestamp that client received from server.
101 optional int64 timestamp = 2; 101 optional int64 timestamp = 2;
102 102
103 // Tell server what kind of security signature is required. 103 // Tell server what kind of security signature is required.
104 enum SignatureType { 104 enum SignatureType {
105 NONE = 0; 105 NONE = 0;
106 SHA1_RSA = 1; 106 SHA1_RSA = 1;
107 } 107 }
108 optional SignatureType signature_type = 3 [default = NONE]; 108 optional SignatureType signature_type = 3 [default = NONE];
109 109
110 // The version number of the public key that is currently stored 110 // The version number of the public key that is currently stored
111 // on the client. This should be the last number the server had 111 // on the client. This should be the last number the server had
112 // supplied as new_public_key_version in PolicyData. 112 // supplied as new_public_key_version in PolicyData.
113 // This field is unspecified if the client does not yet have a 113 // This field is unspecified if the client does not yet have a
114 // public key. 114 // public key.
115 optional int32 public_key_version = 4; 115 optional int32 public_key_version = 4;
116 } 116 }
117 117
118 // This message is included in serialized form in PolicyFetchResponse 118 // This message is included in serialized form in PolicyFetchResponse
119 // below. It may also be signed, with the signature being created for 119 // below. It may also be signed, with the signature being created for
(...skipping 21 matching lines...) Expand all
141 optional bytes policy_value = 4; 141 optional bytes policy_value = 4;
142 142
143 // The device display name assigned by the server. It is only 143 // The device display name assigned by the server. It is only
144 // filled if the display name is available. 144 // filled if the display name is available.
145 // 145 //
146 // The display name of the machine as generated by the server or set 146 // The display name of the machine as generated by the server or set
147 // by the Administrator in the CPanel GUI. This is the same thing as 147 // by the Administrator in the CPanel GUI. This is the same thing as
148 // |machine_name| in DeviceRegisterResponse but it might have 148 // |machine_name| in DeviceRegisterResponse but it might have
149 // changed since then. 149 // changed since then.
150 optional string machine_name = 5; 150 optional string machine_name = 5;
151 151
152 // Version number of the server's current public key. (The key that 152 // Version number of the server's current public key. (The key that
153 // was used to sign this response. Numbering should start at 1 and be 153 // was used to sign this response. Numbering should start at 1 and be
154 // increased by 1 at each key rotation.) 154 // increased by 1 at each key rotation.)
155 optional int32 public_key_version = 6; 155 optional int32 public_key_version = 6;
156 156
157 // The user this policy is intended for. In case of device policy, the name 157 // The user this policy is intended for. In case of device policy, the name
158 // of the owner (who registered the device). 158 // of the owner (who registered the device).
159 optional string username = 7; 159 optional string username = 7;
160 160
161 // In this field the DMServer should echo back the "deviceid" HTTP parameter 161 // In this field the DMServer should echo back the "deviceid" HTTP parameter
162 // from the request. 162 // from the request.
163 optional string device_id = 8; 163 optional string device_id = 8;
164 } 164 }
165 165
166 message PolicyFetchResponse { 166 message PolicyFetchResponse {
167 // Since a single policy request may ask for multiple policies, we 167 // Since a single policy request may ask for multiple policies, we
168 // provide separate error code for each individual policy fetch. 168 // provide separate error code for each individual policy fetch.
169 169
170 // We will use standard HTTP Status Code as error code. 170 // We will use standard HTTP Status Code as error code.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 optional string error_message = 2; 267 optional string error_message = 2;
268 268
269 // Register response 269 // Register response
270 optional DeviceRegisterResponse register_response = 3; 270 optional DeviceRegisterResponse register_response = 3;
271 271
272 // Unregister response 272 // Unregister response
273 optional DeviceUnregisterResponse unregister_response = 4; 273 optional DeviceUnregisterResponse unregister_response = 4;
274 274
275 // Policy response. 275 // Policy response.
276 optional DevicePolicyResponse policy_response = 5; 276 optional DevicePolicyResponse policy_response = 5;
277 } 277 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/enterprise_install_attributes_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698