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/cros_settings_names.h" | 5 #include "chrome/browser/chromeos/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 24 matching lines...) Expand all Loading... |
35 // A boolean pref that indicates whether OS & firmware version info should be | 35 // A boolean pref that indicates whether OS & firmware version info should be |
36 // reported along with device policy requests. | 36 // reported along with device policy requests. |
37 const char kReportDeviceVersionInfo[] = | 37 const char kReportDeviceVersionInfo[] = |
38 "cros.device_status.report_version_info"; | 38 "cros.device_status.report_version_info"; |
39 | 39 |
40 // A boolean pref that indicates whether device activity times should be | 40 // A boolean pref that indicates whether device activity times should be |
41 // recorded and reported along with device policy requests. | 41 // recorded and reported along with device policy requests. |
42 const char kReportDeviceActivityTimes[] = | 42 const char kReportDeviceActivityTimes[] = |
43 "cros.device_status.report_activity_times"; | 43 "cros.device_status.report_activity_times"; |
44 | 44 |
45 // A boolean pref that indicates whether device the state of the dev switch | 45 // A boolean pref that indicates whether the state of the dev mode switch at |
46 // at boot mode should be reported along with device policy requests. | 46 // boot should be reported along with device policy requests. |
47 const char kReportDeviceBootMode[] = "cros.device_status.report_boot_mode"; | 47 const char kReportDeviceBootMode[] = "cros.device_status.report_boot_mode"; |
48 | 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 |
49 // A list of dictionaries, each detailing one extension to install as part of | 53 // A list of dictionaries, each detailing one extension to install as part of |
50 // the AppPack and including the following fields: | 54 // the AppPack and including the following fields: |
51 // "extension-id": ID of the extension to install | 55 // "extension-id": ID of the extension to install |
52 // "update-url": URL to check the extension's version and download location | 56 // "update-url": URL to check the extension's version and download location |
53 // "key-checksum": checksum of the extension's CRX public key, encoded in hex. | 57 // "key-checksum": checksum of the extension's CRX public key, encoded in hex. |
54 const char kAppPack[] = "cros.app_pack"; | 58 const char kAppPack[] = "cros.app_pack"; |
55 | 59 |
56 // Values from the ScreenSaver proto. Defines the extension ID of the screen | 60 // Values from the ScreenSaver proto. Defines the extension ID of the screen |
57 // saver extension and the timeout before the screen saver should be started. | 61 // saver extension and the timeout before the screen saver should be started. |
58 const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id"; | 62 const char kScreenSaverExtensionId[] = "cros.screen_saver.extension_id"; |
59 const char kScreenSaverTimeout[] = "cros.screen_saver.timeout"; | 63 const char kScreenSaverTimeout[] = "cros.screen_saver.timeout"; |
60 | 64 |
61 // Values from the ForcedLogoutTimeouts proto. Defines the timeouts before a | 65 // Values from the ForcedLogoutTimeouts proto. Defines the timeouts before a |
62 // user is logged out after some period of inactivity as well as the duration of | 66 // user is logged out after some period of inactivity as well as the duration of |
63 // a warning message informing the user about the pending logout. | 67 // a warning message informing the user about the pending logout. |
64 const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout"; | 68 const char kIdleLogoutTimeout[] = "cros.idle_logout.timeout"; |
65 const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration"; | 69 const char kIdleLogoutWarningDuration[] = "cros.idle_logout.warning_duration"; |
66 | 70 |
67 // Defines the set of URLs to be opened on login to the anonymous account used | 71 // Defines the set of URLs to be opened on login to the anonymous account used |
68 // if the device is in KIOSK mode. | 72 // if the device is in KIOSK mode. |
69 const char kStartUpUrls[] = "cros.start_up_urls"; | 73 const char kStartUpUrls[] = "cros.start_up_urls"; |
70 | 74 |
71 // This policy should not appear in the protobuf ever but is used internally to | 75 // This policy should not appear in the protobuf ever but is used internally to |
72 // signal that we are running in a "safe-mode" for policy recovery. | 76 // signal that we are running in a "safe-mode" for policy recovery. |
73 const char kPolicyMissingMitigationMode[] = | 77 const char kPolicyMissingMitigationMode[] = |
74 "cros.internal.policy_mitigation_mode"; | 78 "cros.internal.policy_mitigation_mode"; |
75 } // namespace chromeos | 79 } // namespace chromeos |
OLD | NEW |