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

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

Issue 7747018: Introduced the URLBlacklistManager, and wired it to various places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, 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') | net/base/net_log_event_type_list.h » ('j') | 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // This list is adaptively grown and pruned. 327 // This list is adaptively grown and pruned.
328 const char kDnsPrefetchingHostReferralList[] = 328 const char kDnsPrefetchingHostReferralList[] =
329 "dns_prefetching.host_referral_list"; 329 "dns_prefetching.host_referral_list";
330 330
331 // Disables the SPDY protocol. 331 // Disables the SPDY protocol.
332 const char kDisableSpdy[] = "spdy.disabled"; 332 const char kDisableSpdy[] = "spdy.disabled";
333 333
334 // Disables the listed protocol schemes. 334 // Disables the listed protocol schemes.
335 const char kDisabledSchemes[] = "protocol.disabled_schemes"; 335 const char kDisabledSchemes[] = "protocol.disabled_schemes";
336 336
337 // Blocks access to the listed host patterns.
338 const char kUrlBlacklist[] = "policy.url_blacklist";
339
340 // Allows access to the listed host patterns, as exceptions to the blacklist.
341 const char kUrlWhitelist[] = "policy.url_whitelist";
342
337 // Boolean pref indicating whether the instant confirm dialog has been shown. 343 // Boolean pref indicating whether the instant confirm dialog has been shown.
338 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown"; 344 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown";
339 345
340 // Boolean pref indicating if instant is enabled. 346 // Boolean pref indicating if instant is enabled.
341 const char kInstantEnabled[] = "instant.enabled"; 347 const char kInstantEnabled[] = "instant.enabled";
342 348
343 // Boolean pref indicating if instant was ever enabled. 349 // Boolean pref indicating if instant was ever enabled.
344 const char kInstantEnabledOnce[] = "instant.enabled_once"; 350 const char kInstantEnabledOnce[] = "instant.enabled_once";
345 351
346 // Time when instant was last enabled. 352 // Time when instant was last enabled.
(...skipping 1225 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') | net/base/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698