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

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

Issue 21133012: Login screen and Guest mode should use device owner preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved Use24HourClock setting to Device Settings. Created 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/settings/cros_settings_names.h" 5 #include "chrome/browser/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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const char kAllowedConnectionTypesForUpdate[] = 46 const char kAllowedConnectionTypesForUpdate[] =
47 "cros.system.allowedConnectionTypesForUpdate"; 47 "cros.system.allowedConnectionTypesForUpdate";
48 48
49 // The first constant refers to the user setting editable in the UI. The second 49 // The first constant refers to the user setting editable in the UI. The second
50 // refers to the timezone policy. This seperation is necessary to allow the user 50 // refers to the timezone policy. This seperation is necessary to allow the user
51 // to temporarily change the timezone for the current session and reset it to 51 // to temporarily change the timezone for the current session and reset it to
52 // the policy's value on logout. 52 // the policy's value on logout.
53 const char kSystemTimezone[] = "cros.system.timezone"; 53 const char kSystemTimezone[] = "cros.system.timezone";
54 const char kSystemTimezonePolicy[] = "cros.system.timezone_policy"; 54 const char kSystemTimezonePolicy[] = "cros.system.timezone_policy";
55 55
56 // Value of kUse24HourClock user preference of device' owner.
57 // ChromeOS device uses this setting on login screen.
58 const char kSystemUse24HourClock[] = "cros.system.use_24hour_clock";
59
56 const char kDeviceOwner[] = "cros.device.owner"; 60 const char kDeviceOwner[] = "cros.device.owner";
57 61
58 const char kStatsReportingPref[] = "cros.metrics.reportingEnabled"; 62 const char kStatsReportingPref[] = "cros.metrics.reportingEnabled";
59 63
60 const char kReleaseChannel[] = "cros.system.releaseChannel"; 64 const char kReleaseChannel[] = "cros.system.releaseChannel";
61 const char kReleaseChannelDelegated[] = "cros.system.releaseChannelDelegated"; 65 const char kReleaseChannelDelegated[] = "cros.system.releaseChannelDelegated";
62 66
63 // A boolean pref that indicates whether OS & firmware version info should be 67 // A boolean pref that indicates whether OS & firmware version info should be
64 // reported along with device policy requests. 68 // reported along with device policy requests.
65 const char kReportDeviceVersionInfo[] = 69 const char kReportDeviceVersionInfo[] =
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 127
124 // A string pref for the restrict parameter to be appended to the Variations URL 128 // A string pref for the restrict parameter to be appended to the Variations URL
125 // when pinging the Variations server. 129 // when pinging the Variations server.
126 const char kVariationsRestrictParameter[] = 130 const char kVariationsRestrictParameter[] =
127 "cros.variations_restrict_parameter"; 131 "cros.variations_restrict_parameter";
128 132
129 // A boolean pref that indicates whether attestation is enabled for the device. 133 // A boolean pref that indicates whether attestation is enabled for the device.
130 const char kDeviceAttestationEnabled[] = "cros.device.attestation_enabled"; 134 const char kDeviceAttestationEnabled[] = "cros.device.attestation_enabled";
131 135
132 } // namespace chromeos 136 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698