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

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

Issue 1714473002: Add usb_detachable_whitelist to device policy proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased / incremented IDs to account for intermediate commits Created 4 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/chromeos/policy/proto/chrome_device_policy.proto
diff --git a/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto b/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto
index a6eacb6f6c0293e100cbd7de99de9140fb6e03c1..3526c278142787680ad75021178aaaa8ceab1b0f 100644
--- a/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto
+++ b/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto
@@ -667,6 +667,21 @@ message LoginAuthenticationBehaviorProto {
optional LoginBehavior login_authentication_behavior = 1 [default = GAIA];
}
+// Identifiers of a USB device or device family.
+message UsbDeviceIdProto {
+ // USB Vendor Identifier (aka idVendor).
+ optional int32 vendor_id = 1;
+ // USB Product Identifier (aka idProduct).
+ optional int32 product_id = 2;
+}
+
+// This setting contains the list of USB devices to detach from the kernel
+// drivers in order to use them in web applications.
+// The list is used by the permission_broker daemon.
+message UsbDetachableWhitelistProto {
+ repeated UsbDeviceIdProto id = 1;
+}
+
message ChromeDeviceSettingsProto {
optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
optional UserWhitelistProto user_whitelist = 2;
@@ -714,4 +729,5 @@ message ChromeDeviceSettingsProto {
optional AllowKioskAppControlChromeVersionProto
allow_kiosk_app_control_chrome_version = 40;
optional LoginAuthenticationBehaviorProto login_authentication_behavior = 41;
+ optional UsbDetachableWhitelistProto usb_detachable_whitelist = 42;
}
« no previous file with comments | « chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698