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

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: Reviewed, rebased Created 9 years, 4 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
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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // This list is adaptively grown and pruned. 322 // This list is adaptively grown and pruned.
323 const char kDnsPrefetchingHostReferralList[] = 323 const char kDnsPrefetchingHostReferralList[] =
324 "dns_prefetching.host_referral_list"; 324 "dns_prefetching.host_referral_list";
325 325
326 // Disables the SPDY protocol. 326 // Disables the SPDY protocol.
327 const char kDisableSpdy[] = "spdy.disabled"; 327 const char kDisableSpdy[] = "spdy.disabled";
328 328
329 // Disables the listed protocol schemes. 329 // Disables the listed protocol schemes.
330 const char kDisabledSchemes[] = "protocol.disabled_schemes"; 330 const char kDisabledSchemes[] = "protocol.disabled_schemes";
331 331
332 // Blocks access to the listed host patterns.
333 const char kHostBlacklist[] = "policy.host_blacklist";
334
335 // Allows access to the listed host patterns, as exceptions to the blacklist.
336 const char kHostWhitelist[] = "policy.host_whitelist";
337
332 // Boolean pref indicating whether the instant confirm dialog has been shown. 338 // Boolean pref indicating whether the instant confirm dialog has been shown.
333 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown"; 339 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown";
334 340
335 // Boolean pref indicating if instant is enabled. 341 // Boolean pref indicating if instant is enabled.
336 const char kInstantEnabled[] = "instant.enabled"; 342 const char kInstantEnabled[] = "instant.enabled";
337 343
338 // Boolean pref indicating if instant was ever enabled. 344 // Boolean pref indicating if instant was ever enabled.
339 const char kInstantEnabledOnce[] = "instant.enabled_once"; 345 const char kInstantEnabledOnce[] = "instant.enabled_once";
340 346
341 // Time when instant was last enabled. 347 // Time when instant was last enabled.
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 // specified. 1582 // specified.
1577 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1583 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1578 1584
1579 // Integers that specify the policy refresh rate for device- and user-policy in 1585 // Integers that specify the policy refresh rate for device- and user-policy in
1580 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1586 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1581 // by the cloud policy subsystem. 1587 // by the cloud policy subsystem.
1582 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1588 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1583 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1589 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1584 1590
1585 } // namespace prefs 1591 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698