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

Side by Side Diff: chrome/common/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 | « chrome/common/pref_names.h ('k') | components/policy/core/common/policy_pref_names.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 487
488 // Prefs for server names that support SPDY protocol. 488 // Prefs for server names that support SPDY protocol.
489 const char kSpdyServers[] = "spdy.servers"; 489 const char kSpdyServers[] = "spdy.servers";
490 490
491 // Prefs for servers that support Alternate-Protocol. 491 // Prefs for servers that support Alternate-Protocol.
492 const char kAlternateProtocolServers[] = "spdy.alternate_protocol"; 492 const char kAlternateProtocolServers[] = "spdy.alternate_protocol";
493 493
494 // Disables the listed protocol schemes. 494 // Disables the listed protocol schemes.
495 const char kDisabledSchemes[] = "protocol.disabled_schemes"; 495 const char kDisabledSchemes[] = "protocol.disabled_schemes";
496 496
497 // Blocks access to the listed host patterns.
498 const char kUrlBlacklist[] = "policy.url_blacklist";
499
500 // Allows access to the listed host patterns, as exceptions to the blacklist.
501 const char kUrlWhitelist[] = "policy.url_whitelist";
502
503 #if defined(OS_ANDROID) 497 #if defined(OS_ANDROID)
504 // Last time that a check for cloud policy management was done. This time is 498 // Last time that a check for cloud policy management was done. This time is
505 // recorded on Android so that retries aren't attempted on every startup. 499 // recorded on Android so that retries aren't attempted on every startup.
506 // Instead the cloud policy registration is retried at least 1 or 3 days later. 500 // Instead the cloud policy registration is retried at least 1 or 3 days later.
507 const char kLastPolicyCheckTime[] = "policy.last_policy_check_time"; 501 const char kLastPolicyCheckTime[] = "policy.last_policy_check_time";
508 502
509 // A list of bookmarks to include in a Managed Bookmarks root node. Each 503 // A list of bookmarks to include in a Managed Bookmarks root node. Each
510 // list item is a dictionary containing a "name" and an "url" entry, detailing 504 // list item is a dictionary containing a "name" and an "url" entry, detailing
511 // the bookmark name and target URL respectively. 505 // the bookmark name and target URL respectively.
512 const char kManagedBookmarks[] = "policy.managed_bookmarks"; 506 const char kManagedBookmarks[] = "policy.managed_bookmarks";
(...skipping 2154 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 #if defined(OS_WIN) 2661 #if defined(OS_WIN)
2668 // Whether the password was blank, only valid if OS password was last changed 2662 // Whether the password was blank, only valid if OS password was last changed
2669 // on or before the value contained in kOsPasswordLastChanged. 2663 // on or before the value contained in kOsPasswordLastChanged.
2670 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2664 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2671 2665
2672 // The number of seconds since epoch that the OS password was last changed. 2666 // The number of seconds since epoch that the OS password was last changed.
2673 const char kOsPasswordLastChanged[] = 2667 const char kOsPasswordLastChanged[] =
2674 "password_manager.os_password_last_changed"; 2668 "password_manager.os_password_last_changed";
2675 #endif 2669 #endif
2676 } // namespace prefs 2670 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/policy/core/common/policy_pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698