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

Unified Diff: chrome/browser/policy/proto/chrome_device_policy.proto

Issue 6727027: Update protobuf definitions for ChromeOS device policy support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 9 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
Index: chrome/browser/policy/proto/chrome_device_policy.proto
diff --git a/chrome/browser/policy/proto/chrome_device_policy.proto b/chrome/browser/policy/proto/chrome_device_policy.proto
new file mode 100644
index 0000000000000000000000000000000000000000..07864f69c3659391aedd50175c06e3881bcbda99
--- /dev/null
+++ b/chrome/browser/policy/proto/chrome_device_policy.proto
@@ -0,0 +1,38 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package enterprise_management;
+
+message DevicePolicyRefreshRateProto {
+ // In milliseconds.
+ optional int64 policy_refresh_rate = 1;
+}
+
+message UserWhitelistProto {
+ repeated string user_whitelist = 1;
+}
+
+message GuestModeEnabledProto {
+ // Determines if guests are allowed to log in to the device.
+ optional bool guest_mode_enabled = 1;
+}
+
+message DeviceProxySettingsProto {
+ // One of "direct", "auto_detect", "pac_script", "fixed_servers", "system"
+ optional string proxy_mode = 1;
+ optional string proxy_server = 2;
+ optional string proxy_pac_url = 3;
+ optional string proxy_bypass_list = 4;
+}
+
+message ChromeDeviceSettingsProto {
+ optional DevicePolicyRefreshRateProto policy_refresh_rate = 1;
+ optional UserWhitelistProto user_whitelist = 2;
+ optional GuestModeEnabledProto guest_mode_enabled = 3;
+ optional DeviceProxySettingsProto device_proxy_settings = 4;
+}

Powered by Google App Engine
This is Rietveld 408576698