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

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: removed usage of SigninManager 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
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 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 #if defined(OS_WIN) 2641 #if defined(OS_WIN)
2648 // Whether the password was blank, only valid if OS password was last changed 2642 // Whether the password was blank, only valid if OS password was last changed
2649 // on or before the value contained in kOsPasswordLastChanged. 2643 // on or before the value contained in kOsPasswordLastChanged.
2650 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2644 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2651 2645
2652 // The number of seconds since epoch that the OS password was last changed. 2646 // The number of seconds since epoch that the OS password was last changed.
2653 const char kOsPasswordLastChanged[] = 2647 const char kOsPasswordLastChanged[] =
2654 "password_manager.os_password_last_changed"; 2648 "password_manager.os_password_last_changed";
2655 #endif 2649 #endif
2656 } // namespace prefs 2650 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698