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

Unified 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: Addressed comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/tools/testserver/device_management.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/proto/device_management_backend.proto
diff --git a/chrome/browser/policy/proto/device_management_backend.proto b/chrome/browser/policy/proto/device_management_backend.proto
index eb31ebf8a38d843bdc77d1834f4cc93140b43e20..504ae8ba8260f92afbe5b435bc5eab45e288a966 100644
--- a/chrome/browser/policy/proto/device_management_backend.proto
+++ b/chrome/browser/policy/proto/device_management_backend.proto
@@ -56,6 +56,20 @@ message DeviceRegisterResponse {
// the format of "Machine Model - Machine Id". However, domain
// admin can update it using CPanel, so do NOT treat it as constant.
optional string machine_name = 2;
+
+ // Enum listing the possible modes the device should be locked into when the
+ // registration is finished.
+ enum DeviceMode {
+ // In ENTERPRISE mode the device has no local owner and device settings are
+ // controlled through the cloud policy infrastructure. Auto-enrollment is
+ // supported in that mode.
+ ENTERPRISE = 0;
+ // Devices in KIOSK mode also have no local owner and get their device
+ // settings from the cloud, but additionally this mode enables the demo
+ // account on the device.
+ KIOSK = 1;
+ }
+ optional DeviceMode enrollment_type = 3 [default = ENTERPRISE];
Mattias Nissler (ping if slow) 2012/02/16 10:39:01 If you declare a default, have you checked whether
pastarmovj 2012/02/16 14:55:21 Yes. It returns false. The default however will en
}
// Request from device to server to unregister device.
« no previous file with comments | « no previous file | net/tools/testserver/device_management.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698