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

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

Issue 2776493005: Convert SupervisedUserResourceThrottle to a NavigationThrottle. (Closed)
Patch Set: Response to comments Created 3 years, 9 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.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 95c0ff8ea28580f9431560b3820534ac1fc333ae..3e86abb84768cfd8bb5a9b0fe5fe94dcfe59df0c 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -46,7 +46,6 @@ class HostContentSettingsMap;
class MediaDeviceIDSalt;
class NetHttpSessionParamsObserver;
class ProtocolHandlerRegistry;
-class SupervisedUserURLFilter;
namespace chromeos {
class CertificateProvider;
@@ -220,12 +219,6 @@ class ProfileIOData {
return policy_header_helper_.get();
}
-#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
- const SupervisedUserURLFilter* supervised_user_url_filter() const {
- return supervised_user_url_filter_.get();
- }
-#endif
-
// Initialize the member needed to track the metrics enabled state. This is
// only to be called on the UI thread.
void InitializeMetricsEnabledStateOnUIThread();
@@ -342,10 +335,6 @@ class ProfileIOData {
// and needs to be on the main thread.
std::unique_ptr<net::ProxyConfigService> proxy_config_service;
-#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
- scoped_refptr<const SupervisedUserURLFilter> supervised_user_url_filter;
-#endif
-
#if defined(OS_CHROMEOS)
std::string username_hash;
bool use_system_key_slot;
@@ -617,11 +606,6 @@ class ProfileIOData {
mutable std::unique_ptr<ChromeHttpUserAgentSettings>
chrome_http_user_agent_settings_;
-#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
- mutable scoped_refptr<const SupervisedUserURLFilter>
- supervised_user_url_filter_;
-#endif
-
#if BUILDFLAG(ENABLE_EXTENSIONS)
// Is NULL if switches::kDisableExtensionsHttpThrottling is on.
mutable std::unique_ptr<extensions::ExtensionThrottleManager>

Powered by Google App Engine
This is Rietveld 408576698