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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 48f723892e5724ed091f1e9e7ffb9a049b432b61..702b8bbc93ec931eea166585d8c62f1c32e4adf7 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -329,6 +329,12 @@ const char kDisableSpdy[] = "spdy.disabled";
// Disables the listed protocol schemes.
const char kDisabledSchemes[] = "protocol.disabled_schemes";
+// Blocks access to the listed host patterns.
+const char kHostBlacklist[] = "policy.host_blacklist";
+
+// Allows access to the listed host patterns, as exceptions to the blacklist.
+const char kHostWhitelist[] = "policy.host_whitelist";
+
// Boolean pref indicating whether the instant confirm dialog has been shown.
const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown";

Powered by Google App Engine
This is Rietveld 408576698