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

Side by Side Diff: chromeos/settings/cros_settings_names.cc

Issue 1280003004: Added policy to disable/enable a system log upload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build to pass browser and unit tests. Created 5 years, 4 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
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 #include "chromeos/settings/cros_settings_names.h" 5 #include "chromeos/settings/cros_settings_names.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 8
9 const char kCrosSettingsPrefix[] = "cros."; 9 const char kCrosSettingsPrefix[] = "cros.";
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const char kReportUploadFrequency[] = 114 const char kReportUploadFrequency[] =
115 "cros.device_status.report_upload_frequency"; 115 "cros.device_status.report_upload_frequency";
116 116
117 // Determines whether heartbeats should be sent to the policy service via 117 // Determines whether heartbeats should be sent to the policy service via
118 // the GCM channel. 118 // the GCM channel.
119 const char kHeartbeatEnabled[] = "cros.device_status.heartbeat_enabled"; 119 const char kHeartbeatEnabled[] = "cros.device_status.heartbeat_enabled";
120 120
121 // How frequently heartbeats are sent up, in milliseconds. 121 // How frequently heartbeats are sent up, in milliseconds.
122 const char kHeartbeatFrequency[] = "cros.device_status.heartbeat_frequency"; 122 const char kHeartbeatFrequency[] = "cros.device_status.heartbeat_frequency";
123 123
124 // Determines whether system logs should be sent to the management server.
125 const char kLogUploadEnabled[] = "cros.device_status.log_upload_enabled";
126
124 // This policy should not appear in the protobuf ever but is used internally to 127 // This policy should not appear in the protobuf ever but is used internally to
125 // signal that we are running in a "safe-mode" for policy recovery. 128 // signal that we are running in a "safe-mode" for policy recovery.
126 const char kPolicyMissingMitigationMode[] = 129 const char kPolicyMissingMitigationMode[] =
127 "cros.internal.policy_mitigation_mode"; 130 "cros.internal.policy_mitigation_mode";
128 131
129 // A boolean pref that indicates whether users are allowed to redeem offers 132 // A boolean pref that indicates whether users are allowed to redeem offers
130 // through Chrome OS Registration. 133 // through Chrome OS Registration.
131 const char kAllowRedeemChromeOsRegistrationOffers[] = 134 const char kAllowRedeemChromeOsRegistrationOffers[] =
132 "cros.echo.allow_redeem_chrome_os_registration_offers"; 135 "cros.echo.allow_redeem_chrome_os_registration_offers";
133 136
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // A boolean pref that indicates whether the device automatically reboots when 168 // A boolean pref that indicates whether the device automatically reboots when
166 // the user initiates a shutdown via an UI element. If set to true, all 169 // the user initiates a shutdown via an UI element. If set to true, all
167 // shutdown buttons in the UI will be replaced by reboot buttons. 170 // shutdown buttons in the UI will be replaced by reboot buttons.
168 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown"; 171 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown";
169 172
170 // An integer pref that specifies the limit of the device's extension cache 173 // An integer pref that specifies the limit of the device's extension cache
171 // size in bytes. 174 // size in bytes.
172 const char kExtensionCacheSize[] = "cros.device.extension_cache_size"; 175 const char kExtensionCacheSize[] = "cros.device.extension_cache_size";
173 176
174 } // namespace chromeos 177 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/settings/cros_settings_names.h ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698