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

Unified Diff: chrome/browser/net/chrome_network_delegate.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: Removed redundant comments Created 4 years, 8 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/net/chrome_network_delegate.cc
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc
index c333cf05627f7a019dd954baef84e5b3a633368f..eac505fa147c43d30285c07bd79fe1df14583e62 100644
--- a/chrome/browser/net/chrome_network_delegate.cc
+++ b/chrome/browser/net/chrome_network_delegate.cc
@@ -750,3 +750,10 @@ void ChromeNetworkDelegate::ReportDataUsageStats(net::URLRequest* request,
data_use_aggregator_->ReportDataUse(request, tx_bytes, rx_bytes);
}
+
+#if defined(ENABLE_CONFIGURATION_POLICY)
Andrew T Wilson (Slow) 2016/05/02 09:32:11 Remove this #ifdef
igorcov 2016/05/02 13:29:08 Done.
+net::NetworkDelegate::URLBlacklistState
+ChromeNetworkDelegate::GetURLBlacklistState(const GURL& url) const {
+ return url_blacklist_manager_->GetURLBlacklistState(url);
+}
+#endif

Powered by Google App Engine
This is Rietveld 408576698