Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Side by Side Diff: components/policy/core/common/policy_pref_names.cc

Issue 110643005: Refactored the URLBlacklistManager to avoid chrome/ and content/ dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/policy/core/common/policy_pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « components/policy/core/common/policy_pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698