OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/chromeos/cros_settings_names.h" | |
6 | |
7 namespace chromeos { | |
8 | |
9 const char kCrosSettingsPrefix[] = "cros."; | |
10 | |
11 // All cros.accounts.* settings are stored in SignedSettings. | |
12 const char kAccountsPrefAllowGuest[] = "cros.accounts.allowBWSI"; | |
13 const char kAccountsPrefAllowNewUser[] = "cros.accounts.allowGuest"; | |
14 const char kAccountsPrefShowUserNamesOnSignIn[] | |
15 = "cros.accounts.showUserNamesOnSignIn"; | |
16 const char kAccountsPrefUsers[] = "cros.accounts.users"; | |
17 const char kAccountsPrefEphemeralUsersEnabled[] = | |
18 "cros.accounts.ephemeralUsersEnabled"; | |
19 | |
20 // Name of signed setting persisted on device, writeable only by owner. | |
21 const char kSettingProxyEverywhere[] = "cros.proxy.everywhere"; | |
22 | |
23 // All cros.signed.* settings are stored in SignedSettings. | |
24 const char kSignedDataRoamingEnabled[] = "cros.signed.data_roaming_enabled"; | |
25 | |
26 const char kSystemTimezone[] = "cros.system.timezone"; | |
27 | |
28 const char kDeviceOwner[] = "cros.device.owner"; | |
29 | |
30 const char kStatsReportingPref[] = "cros.metrics.reportingEnabled"; | |
31 | |
32 const char kReleaseChannel[] = "cros.system.releaseChannel"; | |
33 const char kReleaseChannelDelegated[] = "cros.system.releaseChannelDelegated"; | |
34 | |
35 // A boolean pref that indicates whether OS & firmware version info should be | |
36 // reported along with device policy requests. | |
37 const char kReportDeviceVersionInfo[] = | |
38 "cros.device_status.report_version_info"; | |
39 | |
40 // A boolean pref that indicates whether device activity times should be | |
41 // recorded and reported along with device policy requests. | |
42 const char kReportDeviceActivityTimes[] = | |
43 "cros.device_status.report_activity_times"; | |
44 | |
45 // A boolean pref that indicates whether the state of the dev mode switch at | |
46 // boot should be reported along with device policy requests. | |
47 const char kReportDeviceBootMode[] = "cros.device_status.report_boot_mode"; | |
48 | |
49 // A boolean pref that indicates whether the current location should be reported | |
50 // along with device policy requests. | |
51 const char kReportDeviceLocation[] = "cros.device_status.report_location"; | |
52 | |
53 // A list of dictionaries, each detailing one extension to install as part of | |
54 // the AppPack and including the following fields: | |
55 // "extension-id": ID of the extension to install | |
56 // "update-url": URL to check the extension's version and download location | |
57 // "key-checksum": checksum of the extension's CRX public key, encoded in hex. | |
58 const char kAppPack[] = "cros.app_pack"; | |
59 | |
60 // Values from the ScreenSaver proto. Defines the extension ID of the screen | |
61 // saver extension and the timeout before the screen saver should be started. | |
62 const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id"; | |
63 const char kScreenSaverTimeout[] = "cros.screen_saver.timeout"; | |
64 | |
65 // Values from the ForcedLogoutTimeouts proto. Defines the timeouts before a | |
66 // user is logged out after some period of inactivity as well as the duration of | |
67 // a warning message informing the user about the pending logout. | |
68 const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout"; | |
69 const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration"; | |
70 | |
71 // Defines the set of URLs to be opened on login to the anonymous account used | |
72 // if the device is in KIOSK mode. | |
73 const char kStartUpUrls[] = "cros.start_up_urls"; | |
74 | |
75 // This policy should not appear in the protobuf ever but is used internally to | |
76 // signal that we are running in a "safe-mode" for policy recovery. | |
77 const char kPolicyMissingMitigationMode[] = | |
78 "cros.internal.policy_mitigation_mode"; | |
79 } // namespace chromeos | |
OLD | NEW |