| 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 // 64-bit serialization of the time last policy usage statistics were collected | 10 // 64-bit serialization of the time last policy usage statistics were collected |
| 11 // by UMA_HISTOGRAM_ENUMERATION. | 11 // by UMA_HISTOGRAM_ENUMERATION. |
| 12 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 12 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
| 13 | 13 |
| 14 // Blocks access to the listed host patterns. |
| 15 const char kUrlBlacklist[] = "policy.url_blacklist"; |
| 16 |
| 17 // Allows access to the listed host patterns, as exceptions to the blacklist. |
| 18 const char kUrlWhitelist[] = "policy.url_whitelist"; |
| 19 |
| 14 // Integer that specifies the policy refresh rate for user-policy in | 20 // Integer that specifies the policy refresh rate for user-policy in |
| 15 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 21 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 16 // by the cloud policy subsystem. | 22 // by the cloud policy subsystem. |
| 17 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 23 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 18 | 24 |
| 19 } // namespace policy_prefs | 25 } // namespace policy_prefs |
| 20 } // namespace policy | 26 } // namespace policy |
| OLD | NEW |