Index: chrome/browser/profiles/profile_io_data.h |
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h |
index 46f218b580b8049e1029fa39f94498834264d910..fa8813191884fecce40fa00062f9a67a59be6ae9 100644 |
--- a/chrome/browser/profiles/profile_io_data.h |
+++ b/chrome/browser/profiles/profile_io_data.h |
@@ -25,6 +25,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/storage_partition_descriptor.h" |
#include "components/content_settings/core/common/content_settings_types.h" |
+#include "components/policy/core/browser/url_blacklist_manager.h" |
#include "components/prefs/pref_member.h" |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/resource_context.h" |
@@ -244,6 +245,11 @@ class ProfileIOData { |
return data_reduction_proxy_io_data_.get(); |
} |
+ // This function is to be used to check if the |url| is defined in |
+ // blacklist or whitelist policy. |
+ virtual policy::URLBlacklist::URLBlacklistState GetURLBlacklistState( |
+ const GURL& url) const; |
+ |
protected: |
// A URLRequestContext for media that owns its HTTP factory, to ensure |
// it is deleted. |