Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "components/policy/core/common/policy_pref_names.h" | 5 #include "components/policy/core/common/policy_pref_names.h" |
| 6 | 6 |
| 7 namespace policy { | 7 namespace policy { |
| 8 namespace policy_prefs { | 8 namespace policy_prefs { |
| 9 | 9 |
| 10 // Stores the user id received from DM Server when enrolling a Play user on an | |
| 11 // Active Directory managed device. Used to report to DM Server that the account | |
| 12 // is still used. | |
| 13 const char kActiveDirectoryPlayUserId[] = | |
|
pastarmovj
2017/03/02 12:28:08
nit: please move this closer to the code that need
Marton Hunyady
2017/03/02 14:17:24
Done.
| |
| 14 "policy.active_directory_play_user_id"; | |
| 15 | |
| 10 // 64-bit serialization of the time last policy usage statistics were collected | 16 // 64-bit serialization of the time last policy usage statistics were collected |
| 11 // by UMA_HISTOGRAM_ENUMERATION. | 17 // by UMA_HISTOGRAM_ENUMERATION. |
| 12 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 18 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
| 13 | 19 |
| 14 // Blocks access to the listed host patterns. | 20 // Blocks access to the listed host patterns. |
| 15 const char kUrlBlacklist[] = "policy.url_blacklist"; | 21 const char kUrlBlacklist[] = "policy.url_blacklist"; |
| 16 | 22 |
| 17 // Allows access to the listed host patterns, as exceptions to the blacklist. | 23 // Allows access to the listed host patterns, as exceptions to the blacklist. |
| 18 const char kUrlWhitelist[] = "policy.url_whitelist"; | 24 const char kUrlWhitelist[] = "policy.url_whitelist"; |
| 19 | 25 |
| 20 // Integer that specifies the policy refresh rate for user-policy in | 26 // Integer that specifies the policy refresh rate for user-policy in |
| 21 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 27 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 22 // by the cloud policy subsystem. | 28 // by the cloud policy subsystem. |
| 23 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 29 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 24 | 30 |
| 25 } // namespace policy_prefs | 31 } // namespace policy_prefs |
| 26 } // namespace policy | 32 } // namespace policy |
| OLD | NEW |