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

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

Issue 1411863002: Use kMetricsReportingEnabled instead of kStatsReporingPref on metrics side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // the policy's value on logout. 61 // the policy's value on logout.
62 const char kSystemTimezone[] = "cros.system.timezone"; 62 const char kSystemTimezone[] = "cros.system.timezone";
63 const char kSystemTimezonePolicy[] = "cros.system.timezone_policy"; 63 const char kSystemTimezonePolicy[] = "cros.system.timezone_policy";
64 64
65 // Value of kUse24HourClock user preference of device' owner. 65 // Value of kUse24HourClock user preference of device' owner.
66 // ChromeOS device uses this setting on login screen. 66 // ChromeOS device uses this setting on login screen.
67 const char kSystemUse24HourClock[] = "cros.system.use_24hour_clock"; 67 const char kSystemUse24HourClock[] = "cros.system.use_24hour_clock";
68 68
69 const char kDeviceOwner[] = "cros.device.owner"; 69 const char kDeviceOwner[] = "cros.device.owner";
70 70
71 const char kStatsReportingPref[] = "cros.metrics.reportingEnabled";
Alexei Svitkine (slow) 2015/10/16 21:27:16 I see a few more places that reference this in cod
gayane -on leave until 09-2017 2015/10/19 21:32:39 Thanks Alexei for pointing this out. The ones tha
72
73 const char kReleaseChannel[] = "cros.system.releaseChannel"; 71 const char kReleaseChannel[] = "cros.system.releaseChannel";
74 const char kReleaseChannelDelegated[] = "cros.system.releaseChannelDelegated"; 72 const char kReleaseChannelDelegated[] = "cros.system.releaseChannelDelegated";
75 73
76 // A boolean pref that indicates whether OS & firmware version info should be 74 // A boolean pref that indicates whether OS & firmware version info should be
77 // reported along with device policy requests. 75 // reported along with device policy requests.
78 const char kReportDeviceVersionInfo[] = 76 const char kReportDeviceVersionInfo[] =
79 "cros.device_status.report_version_info"; 77 "cros.device_status.report_version_info";
80 78
81 // A boolean pref that indicates whether device activity times should be 79 // A boolean pref that indicates whether device activity times should be
82 // recorded and reported along with device policy requests. 80 // recorded and reported along with device policy requests.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // A boolean pref that indicates whether the device automatically reboots when 167 // A boolean pref that indicates whether the device automatically reboots when
170 // the user initiates a shutdown via an UI element. If set to true, all 168 // the user initiates a shutdown via an UI element. If set to true, all
171 // shutdown buttons in the UI will be replaced by reboot buttons. 169 // shutdown buttons in the UI will be replaced by reboot buttons.
172 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown"; 170 const char kRebootOnShutdown[] = "cros.device.reboot_on_shutdown";
173 171
174 // An integer pref that specifies the limit of the device's extension cache 172 // An integer pref that specifies the limit of the device's extension cache
175 // size in bytes. 173 // size in bytes.
176 const char kExtensionCacheSize[] = "cros.device.extension_cache_size"; 174 const char kExtensionCacheSize[] = "cros.device.extension_cache_size";
177 175
178 } // namespace chromeos 176 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698