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

Side by Side Diff: chrome/browser/chromeos/policy/proto/chrome_device_policy.proto

Issue 776093004: Add device policy to disallow shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adressed bartfab's comments Created 6 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 } 576 }
577 577
578 // Settings that control login for SAML users. 578 // Settings that control login for SAML users.
579 message SAMLSettingsProto { 579 message SAMLSettingsProto {
580 // Whether cookies set by a SAML IdP should be transferred to users' profiles 580 // Whether cookies set by a SAML IdP should be transferred to users' profiles
581 // every time a user authenticates via SAML during login. If false, cookies 581 // every time a user authenticates via SAML during login. If false, cookies
582 // are transferred during each user's first login only. 582 // are transferred during each user's first login only.
583 optional bool transfer_saml_cookies = 1; 583 optional bool transfer_saml_cookies = 1;
584 } 584 }
585 585
586 message RebootOnShutdownProto {
587 // Determines whether the device automatically reboots whenever the user shuts
588 // it down. If this flag is set to true, shutdown is forbidden and UI elements
589 // trigger a device reboot instead of a power off. This policy affects
590 // shutdowns triggered from the UI only. If the user shuts down the device
591 // using the power button, it will not automatically reboot, even if the
592 // policy is enabled.
593 optional bool reboot_on_shutdown = 1 [default = false];
594 }
595
586 message ChromeDeviceSettingsProto { 596 message ChromeDeviceSettingsProto {
587 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 597 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
588 optional UserWhitelistProto user_whitelist = 2; 598 optional UserWhitelistProto user_whitelist = 2;
589 optional GuestModeEnabledProto guest_mode_enabled = 3; 599 optional GuestModeEnabledProto guest_mode_enabled = 3;
590 optional DeviceProxySettingsProto device_proxy_settings = 4; 600 optional DeviceProxySettingsProto device_proxy_settings = 4;
591 optional CameraEnabledProto camera_enabled = 5; 601 optional CameraEnabledProto camera_enabled = 5;
592 optional ShowUserNamesOnSigninProto show_user_names = 6; 602 optional ShowUserNamesOnSigninProto show_user_names = 6;
593 optional DataRoamingEnabledProto data_roaming_enabled = 7; 603 optional DataRoamingEnabledProto data_roaming_enabled = 7;
594 optional AllowNewUsersProto allow_new_users = 8; 604 optional AllowNewUsersProto allow_new_users = 8;
595 optional MetricsEnabledProto metrics_enabled = 9; 605 optional MetricsEnabledProto metrics_enabled = 9;
(...skipping 14 matching lines...) Expand all
610 optional UptimeLimitProto uptime_limit = 24; 620 optional UptimeLimitProto uptime_limit = 24;
611 optional VariationsParameterProto variations_parameter = 25; 621 optional VariationsParameterProto variations_parameter = 25;
612 optional AttestationSettingsProto attestation_settings = 26; 622 optional AttestationSettingsProto attestation_settings = 26;
613 optional AccessibilitySettingsProto accessibility_settings = 27; 623 optional AccessibilitySettingsProto accessibility_settings = 27;
614 optional SupervisedUsersSettingsProto supervised_users_settings = 28; 624 optional SupervisedUsersSettingsProto supervised_users_settings = 28;
615 optional LoginScreenPowerManagementProto login_screen_power_management = 29; 625 optional LoginScreenPowerManagementProto login_screen_power_management = 29;
616 optional SystemUse24HourClockProto use_24hour_clock = 30; 626 optional SystemUse24HourClockProto use_24hour_clock = 30;
617 optional AutoCleanupSettigsProto auto_clean_up_settings = 31; 627 optional AutoCleanupSettigsProto auto_clean_up_settings = 31;
618 optional SystemSettingsProto system_settings = 32; 628 optional SystemSettingsProto system_settings = 32;
619 optional SAMLSettingsProto saml_settings = 33; 629 optional SAMLSettingsProto saml_settings = 33;
630 optional RebootOnShutdownProto reboot_on_shutdown = 34;
620 } 631 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698