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

Unified Diff: ios/chrome/browser/net/ios_chrome_network_delegate.h

Issue 1456783004: Remove configuration policy on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up gyp and DEPS Created 5 years, 1 month 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: ios/chrome/browser/net/ios_chrome_network_delegate.h
diff --git a/ios/chrome/browser/net/ios_chrome_network_delegate.h b/ios/chrome/browser/net/ios_chrome_network_delegate.h
index f6f1f18e8774ca5449eaabdc64209a026c6213a7..1a5e27ddfa60a7396ea0575d73d662377134e470 100644
--- a/ios/chrome/browser/net/ios_chrome_network_delegate.h
+++ b/ios/chrome/browser/net/ios_chrome_network_delegate.h
@@ -24,10 +24,6 @@ namespace domain_reliability {
class DomainReliabilityMonitor;
}
-namespace policy {
-class URLBlacklistManager;
-}
-
// IOSChromeNetworkDelegate is the central point from within the Chrome code to
// add hooks into the network stack.
class IOSChromeNetworkDelegate : public net::NetworkDelegateImpl {
@@ -35,13 +31,6 @@ class IOSChromeNetworkDelegate : public net::NetworkDelegateImpl {
IOSChromeNetworkDelegate();
~IOSChromeNetworkDelegate() override;
-#if defined(ENABLE_CONFIGURATION_POLICY)
- void set_url_blacklist_manager(
- const policy::URLBlacklistManager* url_blacklist_manager) {
- url_blacklist_manager_ = url_blacklist_manager;
- }
-#endif
-
// If |cookie_settings| is null or not set, all cookies are enabled,
// otherwise the settings are enforced on all observed network requests.
// Not inlined because we assign a scoped_refptr, which requires us to include
@@ -100,10 +89,7 @@ class IOSChromeNetworkDelegate : public net::NetworkDelegateImpl {
// Weak, owned by our owner.
BooleanPrefMember* enable_do_not_track_;
-// Weak, owned by our owner.
-#if defined(ENABLE_CONFIGURATION_POLICY)
- const policy::URLBlacklistManager* url_blacklist_manager_;
-#endif
+ // Weak, owned by our owner.
domain_reliability::DomainReliabilityMonitor* domain_reliability_monitor_;
DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate);
« no previous file with comments | « ios/chrome/browser/application_context_impl.cc ('k') | ios/chrome/browser/net/ios_chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698