| OLD | NEW |
| 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 |
| 11 // All cros.accounts.* settings are stored in SignedSettings. | 11 // All cros.accounts.* settings are stored in SignedSettings. |
| 12 const char kAccountsPrefAllowGuest[] = "cros.accounts.allowBWSI"; | 12 const char kAccountsPrefAllowGuest[] = "cros.accounts.allowBWSI"; |
| 13 const char kAccountsPrefAllowNewUser[] = "cros.accounts.allowGuest"; | 13 const char kAccountsPrefAllowNewUser[] = "cros.accounts.allowGuest"; |
| 14 const char kAccountsPrefShowUserNamesOnSignIn[] | 14 const char kAccountsPrefShowUserNamesOnSignIn[] |
| 15 = "cros.accounts.showUserNamesOnSignIn"; | 15 = "cros.accounts.showUserNamesOnSignIn"; |
| 16 const char kAccountsPrefUsers[] = "cros.accounts.users"; | 16 const char kAccountsPrefUsers[] = "cros.accounts.users"; |
| 17 const char kAccountsPrefEphemeralUsersEnabled[] = | 17 const char kAccountsPrefEphemeralUsersEnabled[] = |
| 18 "cros.accounts.ephemeralUsersEnabled"; | 18 "cros.accounts.ephemeralUsersEnabled"; |
| 19 const char kAccountsPrefDeviceLocalAccounts[] = | 19 const char kAccountsPrefDeviceLocalAccounts[] = |
| 20 "cros.accounts.deviceLocalAccounts"; | 20 "cros.accounts.deviceLocalAccounts"; |
| 21 | 21 |
| 22 const char kAccountsPrefDeviceLocalAccountAutoLoginId[] = |
| 23 "cros.accounts.deviceLocalAccountAutoLoginId"; |
| 24 const char kAccountsPrefDeviceLocalAccountAutoLoginDelay[] = |
| 25 "cros.accounts.deviceLocalAccountAutoLoginDelay"; |
| 26 |
| 22 // Name of signed setting persisted on device, writeable only by owner. | 27 // Name of signed setting persisted on device, writeable only by owner. |
| 23 const char kSettingProxyEverywhere[] = "cros.proxy.everywhere"; | 28 const char kSettingProxyEverywhere[] = "cros.proxy.everywhere"; |
| 24 | 29 |
| 25 // All cros.signed.* settings are stored in SignedSettings. | 30 // All cros.signed.* settings are stored in SignedSettings. |
| 26 const char kSignedDataRoamingEnabled[] = "cros.signed.data_roaming_enabled"; | 31 const char kSignedDataRoamingEnabled[] = "cros.signed.data_roaming_enabled"; |
| 27 | 32 |
| 28 // The first constant refers to the user setting editable in the UI. The second | 33 // The first constant refers to the user setting editable in the UI. The second |
| 29 // refers to the timezone policy. This seperation is necessary to allow the user | 34 // refers to the timezone policy. This seperation is necessary to allow the user |
| 30 // to temporarily change the timezone for the current session and reset it to | 35 // to temporarily change the timezone for the current session and reset it to |
| 31 // the policy's value on logout. | 36 // the policy's value on logout. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 82 |
| 78 // Defines the set of URLs to be opened on login to the anonymous account used | 83 // Defines the set of URLs to be opened on login to the anonymous account used |
| 79 // if the device is in KIOSK mode. | 84 // if the device is in KIOSK mode. |
| 80 const char kStartUpUrls[] = "cros.start_up_urls"; | 85 const char kStartUpUrls[] = "cros.start_up_urls"; |
| 81 | 86 |
| 82 // This policy should not appear in the protobuf ever but is used internally to | 87 // This policy should not appear in the protobuf ever but is used internally to |
| 83 // signal that we are running in a "safe-mode" for policy recovery. | 88 // signal that we are running in a "safe-mode" for policy recovery. |
| 84 const char kPolicyMissingMitigationMode[] = | 89 const char kPolicyMissingMitigationMode[] = |
| 85 "cros.internal.policy_mitigation_mode"; | 90 "cros.internal.policy_mitigation_mode"; |
| 86 } // namespace chromeos | 91 } // namespace chromeos |
| OLD | NEW |