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

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

Powered by Google App Engine
This is Rietveld 408576698