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

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: modifications suggested by stevenjb 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 ShutdownIsRebootProto {
587 // Determines whether the device may be shut down. If this flag is set to true
bartfab (slow) 2014/12/08 16:49:44 Nit: s/true/true,/
cschuet (SLOW) 2014/12/08 18:57:04 Done.
588 // shutdown is forbidden and UI elements trigger a device reboot instead of a
589 // power off. This policy controls shut down via the UI only.
bartfab (slow) 2014/12/08 16:49:44 Nit: s/shut down/shutdown/
cschuet (SLOW) 2014/12/08 18:57:04 Done.
590 optional bool shutdown_is_reboot = 1 [default = false];
591 }
592
586 message ChromeDeviceSettingsProto { 593 message ChromeDeviceSettingsProto {
587 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 594 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
588 optional UserWhitelistProto user_whitelist = 2; 595 optional UserWhitelistProto user_whitelist = 2;
589 optional GuestModeEnabledProto guest_mode_enabled = 3; 596 optional GuestModeEnabledProto guest_mode_enabled = 3;
590 optional DeviceProxySettingsProto device_proxy_settings = 4; 597 optional DeviceProxySettingsProto device_proxy_settings = 4;
591 optional CameraEnabledProto camera_enabled = 5; 598 optional CameraEnabledProto camera_enabled = 5;
592 optional ShowUserNamesOnSigninProto show_user_names = 6; 599 optional ShowUserNamesOnSigninProto show_user_names = 6;
593 optional DataRoamingEnabledProto data_roaming_enabled = 7; 600 optional DataRoamingEnabledProto data_roaming_enabled = 7;
594 optional AllowNewUsersProto allow_new_users = 8; 601 optional AllowNewUsersProto allow_new_users = 8;
595 optional MetricsEnabledProto metrics_enabled = 9; 602 optional MetricsEnabledProto metrics_enabled = 9;
(...skipping 14 matching lines...) Expand all
610 optional UptimeLimitProto uptime_limit = 24; 617 optional UptimeLimitProto uptime_limit = 24;
611 optional VariationsParameterProto variations_parameter = 25; 618 optional VariationsParameterProto variations_parameter = 25;
612 optional AttestationSettingsProto attestation_settings = 26; 619 optional AttestationSettingsProto attestation_settings = 26;
613 optional AccessibilitySettingsProto accessibility_settings = 27; 620 optional AccessibilitySettingsProto accessibility_settings = 27;
614 optional SupervisedUsersSettingsProto supervised_users_settings = 28; 621 optional SupervisedUsersSettingsProto supervised_users_settings = 28;
615 optional LoginScreenPowerManagementProto login_screen_power_management = 29; 622 optional LoginScreenPowerManagementProto login_screen_power_management = 29;
616 optional SystemUse24HourClockProto use_24hour_clock = 30; 623 optional SystemUse24HourClockProto use_24hour_clock = 30;
617 optional AutoCleanupSettigsProto auto_clean_up_settings = 31; 624 optional AutoCleanupSettigsProto auto_clean_up_settings = 31;
618 optional SystemSettingsProto system_settings = 32; 625 optional SystemSettingsProto system_settings = 32;
619 optional SAMLSettingsProto saml_settings = 33; 626 optional SAMLSettingsProto saml_settings = 33;
627 optional ShutdownIsRebootProto shutdown_is_reboot = 34;
620 } 628 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698