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

Side by Side Diff: chrome/common/pref_names.cc

Issue 7716003: WIP: URL blacklisting by policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewed Created 9 years, 3 months 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 | « chrome/common/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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // This list is adaptively grown and pruned. 324 // This list is adaptively grown and pruned.
325 const char kDnsPrefetchingHostReferralList[] = 325 const char kDnsPrefetchingHostReferralList[] =
326 "dns_prefetching.host_referral_list"; 326 "dns_prefetching.host_referral_list";
327 327
328 // Disables the SPDY protocol. 328 // Disables the SPDY protocol.
329 const char kDisableSpdy[] = "spdy.disabled"; 329 const char kDisableSpdy[] = "spdy.disabled";
330 330
331 // Disables the listed protocol schemes. 331 // Disables the listed protocol schemes.
332 const char kDisabledSchemes[] = "protocol.disabled_schemes"; 332 const char kDisabledSchemes[] = "protocol.disabled_schemes";
333 333
334 // Blocks access to the listed host patterns.
335 const char kUrlBlacklist[] = "policy.url_blacklist";
336
337 // Allows access to the listed host patterns, as exceptions to the blacklist.
338 const char kUrlWhitelist[] = "policy.url_whitelist";
339
334 // Boolean pref indicating whether the instant confirm dialog has been shown. 340 // Boolean pref indicating whether the instant confirm dialog has been shown.
335 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown"; 341 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown";
336 342
337 // Boolean pref indicating if instant is enabled. 343 // Boolean pref indicating if instant is enabled.
338 const char kInstantEnabled[] = "instant.enabled"; 344 const char kInstantEnabled[] = "instant.enabled";
339 345
340 // Boolean pref indicating if instant was ever enabled. 346 // Boolean pref indicating if instant was ever enabled.
341 const char kInstantEnabledOnce[] = "instant.enabled_once"; 347 const char kInstantEnabledOnce[] = "instant.enabled_once";
342 348
343 // Time when instant was last enabled. 349 // Time when instant was last enabled.
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 // specified. 1578 // specified.
1573 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1579 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1574 1580
1575 // Integers that specify the policy refresh rate for device- and user-policy in 1581 // Integers that specify the policy refresh rate for device- and user-policy in
1576 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1582 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1577 // by the cloud policy subsystem. 1583 // by the cloud policy subsystem.
1578 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1584 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1579 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1585 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1580 1586
1581 } // namespace prefs 1587 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698