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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 1692503002: Functionality to allow blacklist and whitelist of custom schemes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review comments Created 4 years, 7 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/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 24d9360a6b7c578a4c5069bf0f2e85b2a42380c2..3a3f342b791d21ffc2f0372f88079ec98c7bda96 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -1347,3 +1347,8 @@ void ProfileIOData::SetCookieSettingsForTesting(
DCHECK(!cookie_settings_.get());
cookie_settings_ = cookie_settings;
}
+
+policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState(
+ const GURL& url) const {
+ return url_blacklist_manager_->GetURLBlacklistState(url);
+}

Powered by Google App Engine
This is Rietveld 408576698