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

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

Issue 12082102: Add DeviceRegisterRequest.BROWSER and use it for chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback. Created 7 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
« no previous file with comments | « no previous file | chrome/browser/policy/user_cloud_policy_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 // Request from device to server to register device. 11 // Request from device to server to register device.
12 message DeviceRegisterRequest { 12 message DeviceRegisterRequest {
13 // Reregister device without erasing server state. It can be used 13 // Reregister device without erasing server state. It can be used
14 // to refresh dmtoken etc. Client MUST set this value to true if it 14 // to refresh dmtoken etc. Client MUST set this value to true if it
15 // reuses an existing device id. 15 // reuses an existing device id.
16 optional bool reregister = 1; 16 optional bool reregister = 1;
17 17
18 // Device register type. This field does not exist for TT release. 18 // Device register type. This field does not exist for TT release.
19 // When a client requests for policies, server should verify the 19 // When a client requests for policies, server should verify the
20 // client has been registered properly. For example, a client must 20 // client has been registered properly. For example, a client must
21 // register with type DEVICE in order to retrieve device policies. 21 // register with type DEVICE in order to retrieve device policies.
22 enum Type { 22 enum Type {
23 TT = 0; // Register for TT release. 23 TT = 0; // Register for TT release.
24 USER = 1; // Register for user polices. 24 USER = 1; // Register for Chrome OS user polices.
25 DEVICE = 2; // Register for device policies. 25 DEVICE = 2; // Register for device policies.
26 BROWSER = 3; // Register for Chrome user policies.
26 } 27 }
27 // NOTE: we also use this field to detect client version. If this 28 // NOTE: we also use this field to detect client version. If this
28 // field is missing, then the request comes from TT. We will remove 29 // field is missing, then the request comes from TT. We will remove
29 // Chrome OS TT support once it is over. 30 // Chrome OS TT support once it is over.
30 optional Type type = 2 [default = TT]; 31 optional Type type = 2 [default = TT];
31 32
32 // Machine hardware id, such as serial number. 33 // Machine hardware id, such as serial number.
33 // This field is required if register type == DEVICE. 34 // This field is required if register type == DEVICE.
34 optional string machine_id = 3; 35 optional string machine_id = 3;
35 36
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 508
508 // Device status report response. 509 // Device status report response.
509 optional DeviceStatusReportResponse device_status_report_response = 6; 510 optional DeviceStatusReportResponse device_status_report_response = 6;
510 511
511 // Session status report response. 512 // Session status report response.
512 optional SessionStatusReportResponse session_status_report_response = 7; 513 optional SessionStatusReportResponse session_status_report_response = 7;
513 514
514 // Auto-enrollment detection response. 515 // Auto-enrollment detection response.
515 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; 516 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8;
516 } 517 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/user_cloud_policy_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698