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

Side by Side Diff: components/policy/proto/device_management_backend.proto

Issue 2412623003: Rename cert_based_register_request to match server proto. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_client_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 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 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 // ping: policy_request 1190 // ping: policy_request
1191 // policy: policy_request 1191 // policy: policy_request
1192 // register: register_request 1192 // register: register_request
1193 // status: device_status_report_request or session_status_report_request 1193 // status: device_status_report_request or session_status_report_request
1194 // unregister: unregister_request 1194 // unregister: unregister_request
1195 // remote_commands: remote_command_request 1195 // remote_commands: remote_command_request
1196 // attribute_update_permission: device_attribute_update_permission_request 1196 // attribute_update_permission: device_attribute_update_permission_request
1197 // attribute_update: device_attribute_update_request 1197 // attribute_update: device_attribute_update_request
1198 // gcm_id_update: gcm_id_update_request 1198 // gcm_id_update: gcm_id_update_request
1199 // check_android_management: check_android_management_request 1199 // check_android_management: check_android_management_request
1200 // certificate_based_register: cert_based_register_request 1200 // certificate_based_register: certificate_based_register_request
1201 // 1201 //
1202 message DeviceManagementRequest { 1202 message DeviceManagementRequest {
1203 // Register request. 1203 // Register request.
1204 optional DeviceRegisterRequest register_request = 1; 1204 optional DeviceRegisterRequest register_request = 1;
1205 1205
1206 // Unregister request. 1206 // Unregister request.
1207 optional DeviceUnregisterRequest unregister_request = 2; 1207 optional DeviceUnregisterRequest unregister_request = 2;
1208 1208
1209 // Policy request. 1209 // Policy request.
1210 optional DevicePolicyRequest policy_request = 3; 1210 optional DevicePolicyRequest policy_request = 3;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 = 15; 1246 = 15;
1247 1247
1248 // Update the GCM id to device_id mapping. 1248 // Update the GCM id to device_id mapping.
1249 optional GcmIdUpdateRequest gcm_id_update_request = 16; 1249 optional GcmIdUpdateRequest gcm_id_update_request = 16;
1250 1250
1251 // Check if user is a managed Android-for-Work user with DPC enforcement. 1251 // Check if user is a managed Android-for-Work user with DPC enforcement.
1252 optional CheckAndroidManagementRequest check_android_management_request = 17; 1252 optional CheckAndroidManagementRequest check_android_management_request = 17;
1253 1253
1254 // Request to register with a registration certificate. 1254 // Request to register with a registration certificate.
1255 optional CertificateBasedDeviceRegisterRequest 1255 optional CertificateBasedDeviceRegisterRequest
1256 cert_based_register_request = 18; 1256 certificate_based_register_request = 18;
1257 1257
1258 } 1258 }
1259 1259
1260 // Response from server to device. 1260 // Response from server to device.
1261 // 1261 //
1262 // The server uses the following numbers as HTTP status codes 1262 // The server uses the following numbers as HTTP status codes
1263 // to report top-level errors. 1263 // to report top-level errors.
1264 // 1264 //
1265 // 200 OK: valid response is returned to client. 1265 // 200 OK: valid response is returned to client.
1266 // 400 Bad Request: invalid argument. 1266 // 400 Bad Request: invalid argument.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 // Response to update device attribute. 1320 // Response to update device attribute.
1321 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; 1321 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16;
1322 1322
1323 // Response to GCM id update request. 1323 // Response to GCM id update request.
1324 optional GcmIdUpdateResponse gcm_id_update_response = 17; 1324 optional GcmIdUpdateResponse gcm_id_update_response = 17;
1325 1325
1326 // Response to check Android management request. 1326 // Response to check Android management request.
1327 optional CheckAndroidManagementResponse 1327 optional CheckAndroidManagementResponse
1328 check_android_management_response = 18; 1328 check_android_management_response = 18;
1329 } 1329 }
OLDNEW
« no previous file with comments | « components/policy/core/common/cloud/cloud_policy_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698