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

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

Issue 887423002: Add |device_heartbeat_settings| to device policy proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Grammar fix. Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 message RebootOnShutdownProto { 587 message RebootOnShutdownProto {
588 // Determines whether the device automatically reboots whenever the user shuts 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 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 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 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 592 // using the power button, it will not automatically reboot, even if the
593 // policy is enabled. 593 // policy is enabled.
594 optional bool reboot_on_shutdown = 1 [default = false]; 594 optional bool reboot_on_shutdown = 1 [default = false];
595 } 595 }
596 596
597 // Settings that control whether a device would send heartbeat messages to GCM,
598 // and how frequently to send these.
599 message DeviceHeartbeatSettingsProto {
600 // Whether the device should send heartbeat messages. The default is false.
601 optional bool heartbeat_enabled = 1 [default = false];
602
603 // How frequently devices send heartbeats back to server. The unit is in
604 // milliseconds. The default is 2 minutes.
605 optional int64 heartbeat_frequency = 2 [default = 120000];
606 }
607
597 message ChromeDeviceSettingsProto { 608 message ChromeDeviceSettingsProto {
598 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 609 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
599 optional UserWhitelistProto user_whitelist = 2; 610 optional UserWhitelistProto user_whitelist = 2;
600 optional GuestModeEnabledProto guest_mode_enabled = 3; 611 optional GuestModeEnabledProto guest_mode_enabled = 3;
601 optional DeviceProxySettingsProto device_proxy_settings = 4; 612 optional DeviceProxySettingsProto device_proxy_settings = 4;
602 optional CameraEnabledProto camera_enabled = 5; 613 optional CameraEnabledProto camera_enabled = 5;
603 optional ShowUserNamesOnSigninProto show_user_names = 6; 614 optional ShowUserNamesOnSigninProto show_user_names = 6;
604 optional DataRoamingEnabledProto data_roaming_enabled = 7; 615 optional DataRoamingEnabledProto data_roaming_enabled = 7;
605 optional AllowNewUsersProto allow_new_users = 8; 616 optional AllowNewUsersProto allow_new_users = 8;
606 optional MetricsEnabledProto metrics_enabled = 9; 617 optional MetricsEnabledProto metrics_enabled = 9;
(...skipping 17 matching lines...) Expand all
624 optional VariationsParameterProto variations_parameter = 25; 635 optional VariationsParameterProto variations_parameter = 25;
625 optional AttestationSettingsProto attestation_settings = 26; 636 optional AttestationSettingsProto attestation_settings = 26;
626 optional AccessibilitySettingsProto accessibility_settings = 27; 637 optional AccessibilitySettingsProto accessibility_settings = 27;
627 optional SupervisedUsersSettingsProto supervised_users_settings = 28; 638 optional SupervisedUsersSettingsProto supervised_users_settings = 28;
628 optional LoginScreenPowerManagementProto login_screen_power_management = 29; 639 optional LoginScreenPowerManagementProto login_screen_power_management = 29;
629 optional SystemUse24HourClockProto use_24hour_clock = 30; 640 optional SystemUse24HourClockProto use_24hour_clock = 30;
630 optional AutoCleanupSettigsProto auto_clean_up_settings = 31; 641 optional AutoCleanupSettigsProto auto_clean_up_settings = 31;
631 optional SystemSettingsProto system_settings = 32; 642 optional SystemSettingsProto system_settings = 32;
632 optional SAMLSettingsProto saml_settings = 33; 643 optional SAMLSettingsProto saml_settings = 33;
633 optional RebootOnShutdownProto reboot_on_shutdown = 34; 644 optional RebootOnShutdownProto reboot_on_shutdown = 34;
645 optional DeviceHeartbeatSettingsProto device_heartbeat_settings = 35;
634 } 646 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698