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

Unified Diff: chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc

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/loader/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
index a9d0044df47a9a7af6fe433e9725592283b97c8f..2cbf8e6d353a9c277220fa35a2aca1770fe87deb 100644
--- a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
@@ -97,10 +97,6 @@
#include "extensions/common/user_script.h"
#endif
-#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
-#include "chrome/browser/supervised_user/supervised_user_resource_throttle.h"
-#endif
-
#if defined(USE_SYSTEM_PROTOBUF)
#include <google/protobuf/repeated_field.h>
#else
@@ -660,14 +656,6 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles(
if (first_throttle)
throttles->push_back(base::WrapUnique(first_throttle));
-#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
- std::unique_ptr<content::ResourceThrottle> supervised_user_throttle =
- SupervisedUserResourceThrottle::MaybeCreate(
- request, resource_type, io_data->supervised_user_url_filter());
- if (supervised_user_throttle)
- throttles->push_back(std::move(supervised_user_throttle));
-#endif
-
#if BUILDFLAG(ENABLE_EXTENSIONS)
content::ResourceThrottle* wait_for_extensions_init_throttle =
user_script_listener_->CreateResourceThrottle(request->url(),

Powered by Google App Engine
This is Rietveld 408576698