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

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

Issue 9404006: Update the registration protobuf and the test dm server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 message DeviceRegisterResponse { 49 message DeviceRegisterResponse {
50 // Device management token for this registration. This token MUST be 50 // Device management token for this registration. This token MUST be
51 // part of HTTP Authorization header for all future requests from 51 // part of HTTP Authorization header for all future requests from
52 // device to server. 52 // device to server.
53 required string device_management_token = 1; 53 required string device_management_token = 1;
54 54
55 // Device display name. By default, server generates the name in 55 // Device display name. By default, server generates the name in
56 // the format of "Machine Model - Machine Id". However, domain 56 // the format of "Machine Model - Machine Id". However, domain
57 // admin can update it using CPanel, so do NOT treat it as constant. 57 // admin can update it using CPanel, so do NOT treat it as constant.
58 optional string machine_name = 2; 58 optional string machine_name = 2;
59
60 // Enum listing the possible modes the device should be locked into when the
61 // registration is finished.
62 enum DeviceMode {
Mattias Nissler (ping if slow) 2012/02/15 15:16:47 Should have comments explaining what that mode act
pastarmovj 2012/02/15 17:40:54 Done.
63 ENTERPRISE = 0;
64 KIOSK = 1;
65 }
66 optional DeviceMode enrollment_type = 3 [default = ENTERPRISE];
59 } 67 }
60 68
61 // Request from device to server to unregister device. 69 // Request from device to server to unregister device.
62 // GoogleDMToken MUST be in HTTP Authorization header. 70 // GoogleDMToken MUST be in HTTP Authorization header.
63 message DeviceUnregisterRequest { 71 message DeviceUnregisterRequest {
64 } 72 }
65 73
66 // Response from server to device for unregister request. 74 // Response from server to device for unregister request.
67 message DeviceUnregisterResponse { 75 message DeviceUnregisterResponse {
68 } 76 }
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 430
423 // Device status report response. 431 // Device status report response.
424 optional DeviceStatusReportResponse device_status_report_response = 6; 432 optional DeviceStatusReportResponse device_status_report_response = 6;
425 433
426 // Session status report response. 434 // Session status report response.
427 optional SessionStatusReportResponse session_status_report_response = 7; 435 optional SessionStatusReportResponse session_status_report_response = 7;
428 436
429 // Auto-enrollment detection response. 437 // Auto-enrollment detection response.
430 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; 438 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8;
431 } 439 }
OLDNEW
« no previous file with comments | « no previous file | net/tools/testserver/device_management.py » ('j') | net/tools/testserver/device_management.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698